Skip to content

Commit

Permalink
Correctly defined build number
Browse files Browse the repository at this point in the history
  • Loading branch information
credfeto committed Jun 3, 2021
1 parent 38becc3 commit fa1ceb2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/build-and-publish-pre-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,13 +45,12 @@ jobs:
- name: Install Multi-Push Tool
run: dotnet tool install --local Credfeto.Package.Push
- name: Set Define Build Version
run: dotnet buildversion $GITHUB_RUN_NUMBER
run: dotnet buildversion --BuildNumber $GITHUB_RUN_NUMBER
- name: Install Changelog Tool
run: dotnet tool install --local Credfeto.Changelog.Cmd
- name: Create Release Notes
run: |
echo Hello > RELEASE_NOTES.md
# dotnet changelog --changelog CHANGELOG.md --extract RELEASE_NOTES.md --version ${{ env.BUILD_VERSION }}
dotnet changelog --changelog CHANGELOG.md --extract RELEASE_NOTES.md --version ${{ env.BUILD_VERSION }}
- id: release-notes
uses: juliangruber/read-file-action@v1
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-and-publish-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
- name: Install Changelog Tool
run: dotnet tool install --local Credfeto.Changelog.Cmd
- name: Set Define Build Version
run: dotnet buildversion $GITHUB_RUN_NUMBER
run: dotnet buildversion --BuildNumber $GITHUB_RUN_NUMBER
- name: Create Release Notes
run: |
dotnet changelog --changelog CHANGELOG.md --extract RELEASE_NOTES.md --version ${{ env.BUILD_VERSION }}
Expand Down

0 comments on commit fa1ceb2

Please sign in to comment.