diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7362893d5..a76229a81 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -87,8 +87,9 @@ jobs: - name: Run Bake run: | - $VERSION = "1.0."+(5000+$($Env:GITHUB_RUN_NUMBER)) - bake run --build-version $VERSION + declare -i REVISION + REVISION=5000+$GITHUB_RUN_NUMBER + bake run --build-version 1.0.$REVISION - name: Upload NuGet packages uses: actions/upload-artifact@v2 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 72836fc7f..9af8d0fee 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -87,8 +87,9 @@ jobs: - name: Run Bake run: | - $VERSION = "1.0."+(5000+$($Env:GITHUB_RUN_NUMBER)) - bake run --convention=Release --build-version $VERSION --destination="nuget>github,nuget,release>github" + declare -i REVISION + REVISION=5000+$GITHUB_RUN_NUMBER + bake run --convention=Release --build-version 1.0.$REVISION --destination="nuget>github,nuget,release>github" - name: Upload test results uses: actions/upload-artifact@v2