These changes bring a new step to Publish action that fills project (*.csproj) metadata before running dotnet pack. Publish was also changed to move some values to environment variables.
Also, as this repository's Build action shares the build logic with Rules.Framework project, and since that logic has suffered some changes since the build was created, some changes were done:
Find last tag fails under certain conditions, so step was changed to adopt a new last tag search strategy.
Find last commit message could fail when having a commit message body with more than 1 line. The %B formatted as full commit message body and the %s formats the commit subject (first line by convention).
Add chore conventional commit to semantic versioning logic, making it bump patch version number.
Remove changed-files step - not used.
Add a step to delete tag if it exists before step to set build tag - if version is not bumped, tag will already be assigned to a commit, and trying to set it again will cause the build to fail. This ensures that tag ends up pointing to the last commit it was meant to describe.
Remove 'v' from semantic versioning tags.
Fixes #16.
How Has This Been Tested?
Tested using the pull request actions build.
Checklist
[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[ ] I have added tests to cover my changes (N/A)
[ ] I have made corresponding changes to the documentation (N/A)
Disclaimer
By sending us your contributions, you are agreeing that your contribution is made subject to the terms of our Contributor Ownership Statement
Description
These changes bring a new step to Publish action that fills project (*.csproj) metadata before running
dotnet pack
. Publish was also changed to move some values to environment variables.Also, as this repository's Build action shares the build logic with Rules.Framework project, and since that logic has suffered some changes since the build was created, some changes were done:
Fixes #16.
How Has This Been Tested?
Tested using the pull request actions build.
Checklist
Disclaimer
By sending us your contributions, you are agreeing that your contribution is made subject to the terms of our Contributor Ownership Statement