From 9cdb2eb11e39775644429a3a717e2453580e9f8d Mon Sep 17 00:00:00 2001 From: Arjun Raja Yogidas Date: Mon, 16 Sep 2024 23:18:15 +0000 Subject: [PATCH] ci: Verify released binary version Signed-off-by: Arjun Raja Yogidas --- .github/workflows/release-automation.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/release-automation.yaml b/.github/workflows/release-automation.yaml index 9ac3bb9..a2ffa28 100644 --- a/.github/workflows/release-automation.yaml +++ b/.github/workflows/release-automation.yaml @@ -45,6 +45,13 @@ jobs: run: make licenses - name: Create release binaries run: make RELEASE_TAG=${{ env.RELEASE_TAG }} release + - name: Check release version + run: | + mkdir output + tar -xzf release/${{ env.DYNAMIC_BINARY_NAME }} -C ./output + BINARY_VERSION=$(./output/finch-daemon --version) + echo "release tag = ${{ env.RELEASE_TAG }}" + echo $BINARY_VERSION - uses: actions/upload-artifact@v4 with: name: artifacts