CircleCI-Public / orb-tools-orb

Various tools for authoring and publishing CircleCI orbs
https://circleci.com/orbs/registry/orb/circleci/orb-tools
MIT License
51 stars 74 forks source link

ORB_RELEASE_VERSION not correct when patch version greater than 9 #182

Closed djenniex-gg closed 1 year ago

djenniex-gg commented 1 year ago

Orb version: 11.6.0

What happened:

Created a new tag for a release called v0.0.25. However, the tag was shortened to v0.0.2 during the orb-tools-publish job.

Preparing to publish your orb.
Production release detected!
Production version: 0.0.2

Expected behavior:

Orb should have been released with the v0.0.25 tag.

Additional Information:

Looks like the regex in the publish.sh is not greedy enough and only takes the first number.

KyleTryon commented 1 year ago

Resolved in #183 Thank you 🙏