From 493001ff50ff8bbc07e45af256aa5bc918771965 Mon Sep 17 00:00:00 2001 From: Chris Kaczor Date: Thu, 26 Sep 2024 20:16:17 -0400 Subject: [PATCH] Try this version? --- .github/workflows/main.yml | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index e16d953..79974c8 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -12,12 +12,11 @@ jobs: - name: Checkout Repository uses: actions/checkout@v4 - - name: Get Version - id: get-version - shell: bash - run: | - echo "version=$((${{ github.run_number }}+${{ github.run_attempt }}))" >> $GITHUB_ENV - echo $version + - name: Get next version + uses: reecetech/version-increment@2024.4.3 + id: version + with: + scheme: calver - name: Install .NET uses: actions/setup-dotnet@v4 @@ -32,4 +31,4 @@ jobs: dotnet tool install -g vpk vpk download github --repoUrl https://github.com/ckaczor/WorldClockStatusWindow vpk pack -u MyUniqueIdentifier -v ${{ steps.get-version.outputs.version }} -p publish - vpk upload github --repoUrl https://github.com/ckaczor/WorldClockStatusWindow --publish --releaseName "WorldClockStatusWindow ${{ steps.get-version.outputs.version }}" --tag v${{ steps.get-version.outputs.version }} \ No newline at end of file + vpk upload github --repoUrl https://github.com/ckaczor/WorldClockStatusWindow --publish --releaseName "WorldClockStatusWindow ${{ steps.version.outputs.version }}" --tag v${{ steps.version.outputs.version }} \ No newline at end of file