From 74c9f14582d95c638bb6ab7948e5f59f0294c383 Mon Sep 17 00:00:00 2001 From: Nick Date: Mon, 3 Jul 2023 10:29:20 -0400 Subject: [PATCH] Print versions in release build --- .github/workflows/release_build.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/release_build.yml b/.github/workflows/release_build.yml index 6043e937..2f3b680f 100644 --- a/.github/workflows/release_build.yml +++ b/.github/workflows/release_build.yml @@ -32,6 +32,13 @@ jobs: - name: Read Manifest id: read-manifest run: echo "manifest=$(< ./NewHorizons/manifest.json sed ':a;N;$!ba;s/\n/ /g')" >> $GITHUB_OUTPUT + - name: Print version numbers + run: | + echo "Manifest version: $MANIFEST_VERSION" + echo "PR version: $PR_VERSION" + env: + MANIFEST_VERSION: ${{ steps.read-manifest.outputs.version }} + PR_VERSION: ${{ github.event.pull_request.titl }} - name: Error if: ${{ steps.read-manifest.outputs.version != github.event.pull_request.title }} run: echo "::error file=manifest.json,title=Version Error::Hey DUMB-DUMB UPDATE THE MANIFEST VERSION" && exit 1