From a34e39d7974bd85b1ce9944cc173442be6ea8a02 Mon Sep 17 00:00:00 2001 From: Sergey Shorokhov Date: Tue, 18 Jun 2024 19:29:19 +0300 Subject: [PATCH] CI: fix release name and patch version --- .github/workflows/CI.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 45de8d4..3ed2c8b 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -17,7 +17,7 @@ jobs: runs-on: ubuntu-latest outputs: COMMIT_SHA: ${{ steps.declare_sha.outputs.COMMIT_SHA }} - SEMVER_PATCH: ${{ steps.declare_sha.outputs.SEMVER }} + FULLVERSION: ${{ steps.semver_parser.outputs.fullversion }} steps: - name: Checkout uses: actions/checkout@v4.1.1 @@ -41,7 +41,7 @@ jobs: run: | SHA=$(git rev-parse --short HEAD) echo "COMMIT_SHA=$SHA" >> $GITHUB_OUTPUT - echo "SEMVER_PATCH=${{ steps.semver_parser.outputs.patch }}.${{ steps.semver_parser.outputs.prerelease }}" >> $GITHUB_OUTPUT + echo "SEMVER_PATCH=${{ steps.semver_parser.outputs.patch }}-${{ steps.semver_parser.outputs.prerelease }}" >> $GITHUB_OUTPUT - name: Setup latest ReAPI includes env: @@ -130,7 +130,7 @@ jobs: - name: Packaging binaries id: packaging - run: 7z a -mm=Deflate -mfb=258 -mpass=15 -r ReDeathmatch-${{ needs.build.outputs.SEMVER_PATCH }}.zip cstrike/ + run: 7z a -mm=Deflate -mfb=258 -mpass=15 -r ReDeathmatch-${{ needs.build.outputs.FULLVERSION }}.zip cstrike/ - name: Publish artifacts uses: softprops/action-gh-release@v2.0.4