This actually runs when its supposed to (when I finish the release) and actually publishes to Sonatype, so I must have correctly set all my tokens (yay!). But... what I see isn't version 1.2.3. The version I see is b4e7bd_unknown, which I presume is some mash-up of the git commit id.
How can I modify my publish script, preferably without changing when it runs, to correctly version from the created tag?
I'm using githubflow to manage branches and tag versions. The tag is created with I do a
git hf release finish v1.2.3
I've got a yml in my workflows folder that triggers a GitHub action when this tag is created:
This actually runs when its supposed to (when I finish the release) and actually publishes to Sonatype, so I must have correctly set all my tokens (yay!). But... what I see isn't version 1.2.3. The version I see is
b4e7bd_unknown
, which I presume is some mash-up of the git commit id.How can I modify my publish script, preferably without changing when it runs, to correctly version from the created tag?