Closed cdavernas closed 2 years ago
@cbcrouse Did you have time to check it out? I'm trying to get it to work for CNCF Synapse. If you have time, it would be absolutely amazing if you could contribute with a PR to add a pipeline for your awesome tool.
Hey @cdavernas I apologize, I don't recall seeing a notification of this issue, so thanks for following up on it. I'll have some time tomorrow to review this in more detail.
Furthermore, shouldn't semantic versions NOT be prefixed with the 'v' character, as explained in this issue
The versions in the project files themselves do not contain the 'v' character however, it helps to find the version tag when traversing through potentially many numeric-only tags such as dates. The SemVer C# library supports the 'v' when accepting the string formatted value and works quite well.
Hi @cdavernas - I was able to resolve this issue by setting the fetch-depth
value of the checkout task to 0
. I've added this as a troubleshooting step to a new section in the wiki.
Example
steps:
- name: Checkout
uses: actions/checkout@v2.4.2
with:
fetch-depth: 0
While I was troubleshooting, I also stumbled upon an unhandled exception for missing csproj files so I've published a fix for that. However, this issue did not require any code changes. Can you let me know if following the same steps also resolves your issue?
@cbcrouse Did you have time to check it out? I'm trying to get it to work for CNCF Synapse. If you have time, it would be absolutely amazing if you could contribute with a PR to add a pipeline for your awesome tool.
Let me know if you would still like me to contribute to your workflows. I recommend doing the versioning separately after a pull request is merged into the target branch. If main is the target branch, then create a workflow that triggers on main to version the code, and then create a separate workflow that triggers on completion of the versioning workflow to deploy your code if necessary.
Can you let me know if following the same steps also resolves your issue?
I'll check that today!
Let me know if you would still like me to contribute to your workflows
Well, sure! If its not too much hastle for you it would be wonderful! The reason is the more contributors, the better. If you do for that project, Ill make sure to implement your recommendations for another, just to get my hands on it!
Anyways, thank you very much and kudos for your great work!
Describe the bug When using the tool in a Github pipeline, it will systematically return the following message:
To Reproduce Steps to reproduce the behavior:
Expected behavior A new version is successfully computed
Additional context I did tag the repository with a SemVer (v0.1.0) before running the tool, but it did not change a thing 😢 Furthermore, shouldn't semantic versions NOT be prefixed with the 'v' character, as explained in this issue?