Closed RaulTrombin closed 10 months ago
Was having some issues with the github checkout action, the ref aren't working properly, maybe because it's triggered by a tag. The github.ref ...and github.ref_name aren't working to track the last commit.
This was the solution found, based on this issue. The verion-manager stores the actual/updated hash and use it.
ping @patrickelectric, this is the same solution we are currently using for navigator-rs and ak09915.
The only know issue is just for past minor releases, once all new tag versions do a commit.
This new job intendeds to manage the version automatically, based on the release tag.
It will run only after the quick tests (linter and building). If it's a release tag, it will auto-commit the version upgrade and generate a new hash for the next building jobs with a new version; otherwise, it will keep the same hash.
The hash is shared between jobs using the $GITHUB_OUTPUT.
normal: with tag: commit: assets: