From 51eb2ec24eafd7dcd920559f1dd1fbcc3c923c35 Mon Sep 17 00:00:00 2001 From: alper <29778028+iamalper@users.noreply.github.com> Date: Sun, 10 Sep 2023 16:47:04 +0300 Subject: [PATCH] chore: add alpha tag for builds from develop --- .github/workflows/build.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 2f3294f..66516e6 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -104,7 +104,7 @@ jobs: publish: env: - isRelease: ${{ github.ref_name == 'release' }} + isRelease: ${{ github.ref_name == 'main' }} runs-on: ubuntu-latest needs: [build, version] steps: @@ -142,7 +142,7 @@ jobs: version: env: - isRelease: ${{ github.ref_name == 'release' }} + isRelease: ${{ github.ref_name == 'main' }} name: Create version number # The type of runner that the job will run on runs-on: ubuntu-latest @@ -161,7 +161,7 @@ jobs: uses: gittools/actions/gitversion/execute@v0.9.7 - name: Create version.txt with MajorMinorPatch - run: echo ${{ steps.gitversion.outputs.MajorMinorPatch }} > version.txt + run: echo ${{ steps.gitversion.outputs.MajorMinorPatch }}${{ steps.gitversion.outputs.PreReleaseTagWithDash }} > version.txt - name: Upload version.txt uses: actions/upload-artifact@v2