Skip to content

Commit

Permalink
fix: update versioning in release workflow to use environment variable
Browse files Browse the repository at this point in the history
  • Loading branch information
antosubash committed Nov 2, 2024
1 parent d4824a6 commit 215c4a4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
- name: Build
run: dotnet build abp/ --no-restore
- name: Build Package
run: dotnet pack --output nupkgs --configuration Release /p:Version=${{ steps.set-version.outputs.VERSION }}
run: dotnet pack --output nupkgs --configuration Release /p:Version=${{ env.VERSION }}
- name: Push to Nuget
run: dotnet nuget push "nupkgs/*.nupkg" -s https://api.nuget.org/v3/index.json -k ${{secrets.NUGET_API_KEY}} --skip-duplicate
- name: Docker Login
Expand All @@ -56,7 +56,7 @@ jobs:
push: true
tags: |
registry.antosubash.com/abptemplate:dev
registry.antosubash.com/abptemplate:${{ steps.set-version.outputs.VERSION }}
registry.antosubash.com/abptemplate:${{ steps.tag_version.outputs.new_version }}
- name: Create a GitHub release
uses: ncipollo/release-action@v1
with:
Expand Down

0 comments on commit 215c4a4

Please sign in to comment.