How could pre-release tags be used when releasing without causing versioning issues? #541
Replies: 1 comment 3 replies
-
Here is what I plan to implement at my work for our services. Our plan is to use a variant of https://miniscruff.github.io/hashver/ a semver compatible scheme that works better, imo of course, for live constantly updating services where compatibility is not a requirement. The basic idea is, every commit to main pushes a new build to dev with a snapshot version. Something like Then when its time to merge to production, we just bump whatever the latest stage build is, this matches your diagram. |
Beta Was this translation helpful? Give feedback.
-
See image... How would you handle being able to only increment your release version on production releases, when the actual artifact being released has already been built and tagged? With changie you are basing your changes on files, and this could be different than when an image is built.
I work on trunk based releases.
I don't think that even using release branches would work as at the end
trunk
still needs the changie files for correct file calculations.The only solution I can see right now is to increment on any release to a development environment, and not be able to batch the "prod release" version if the prod release version isn't actually rebuilding the artifact.
If this doesn't make sense, let me know and I'll try and rephrase all this. It's late :-)
Beta Was this translation helpful? Give feedback.
All reactions