From 0a0aad5c3dea59ca12d534b941a8e006d72fc83e Mon Sep 17 00:00:00 2001 From: Sam Smith Date: Mon, 12 Dec 2022 10:14:37 -0500 Subject: [PATCH] Fix to versioning --- .github/workflows/dotnetcore.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/dotnetcore.yml b/.github/workflows/dotnetcore.yml index 176efd9f..c7135089 100644 --- a/.github/workflows/dotnetcore.yml +++ b/.github/workflows/dotnetcore.yml @@ -284,17 +284,17 @@ jobs: - name: Display GitVersion outputs run: | - echo "Version: ${{ needs.buildWebsite.outputs.Version }}" - echo "CommitsSinceVersionSource: ${{ needs.buildWebsite.outputs.CommitsSinceVersionSource }}" + echo "Version: ${{ needs.build.outputs.Version }}" + echo "CommitsSinceVersionSource: ${{ needs.build.outputs.CommitsSinceVersionSource }}" - name: Create Release id: create_release uses: actions/create-release@v1 - if: github.ref == 'refs/heads/main' && needs.buildWebsite.outputs.CommitsSinceVersionSource > 0 #Only create a release if there has been a commit/version change + if: github.ref == 'refs/heads/main' && needs.build.outputs.CommitsSinceVersionSource > 0 #Only create a release if there has been a commit/version change env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token with: - tag_name: ${{ needs.buildWebsite.outputs.Version }} - release_name: Release ${{ needs.buildWebsite.outputs.Version }} + tag_name: ${{ needs.build.outputs.Version }} + release_name: Release ${{ needs.build.outputs.Version }} swapDeploymentSlots: runs-on: ubuntu-latest # Note, Azure CLI requires a Linux runner...