From 3c2f75b0b754287ac26963c03fa03a8ed59420a5 Mon Sep 17 00:00:00 2001 From: sajde <116970472+sajde@users.noreply.github.com> Date: Thu, 19 Dec 2024 09:27:02 +0100 Subject: [PATCH] Update create-release.yml --- .github/workflows/create-release.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/create-release.yml b/.github/workflows/create-release.yml index cfdf41b..be6b527 100644 --- a/.github/workflows/create-release.yml +++ b/.github/workflows/create-release.yml @@ -31,15 +31,17 @@ jobs: VER=$(cat VERSION) echo "VERSION=$VER" >> $GITHUB_ENV - - name: Test - run: ls + - name: Get build information from build file + run: | + BUI=$(cat BUILD) + echo "BUILD=$BUI" >> $GITHUB_ENV - name: Create release env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} tag: ${{ github.ref_name }} run: | - gh release create "$VERSION" 'update.txt' \ + gh release create "$VERSION-$BUILD" 'update.txt' \ --repo="$GITHUB_REPOSITORY" \ --title="$VERSION" \ --generate-notes