[Done] Plugin Versioning #105
-
How do you think Treasury should be versioned? I was going to just use a build system where each development build and release of Treasury just increments the number, but I've heard that using the commit ID could be a better solution. What do you think? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 10 replies
-
Increasing a version number is more user friendly than a commit id in my opinion. I haven't heard anything about using commits id instead of build versions |
Beta Was this translation helpful? Give feedback.
-
If we do want to just make it so that each new commit to master is a new version, we should probably disallow direct commits so that any work between versions will not result in version bumps. MockBukkit is a good example of this; pretty much all work, no matter how small, is done via PR. There's even a PR open to automatically bump version on merge based on tags. |
Beta Was this translation helpful? Give feedback.
-
Not all commits shall become releases in my opinion. Only specific ones. We shall use commit hashes in my opinion, because as jikoo said build numbers are a system specific magic value. Re: specific patterning - I like how IntelliJ's doing it but instead of build number we will have the commit hash: e.g the version would be |
Beta Was this translation helpful? Give feedback.
Not all commits shall become releases in my opinion. Only specific ones.
We shall use commit hashes in my opinion, because as jikoo said build numbers are a system specific magic value.
Re: specific patterning - I like how IntelliJ's doing it but instead of build number we will have the commit hash: e.g the version would be
1.2.3-d66fff0
and the distributed jar name -treasury-<platform>-<version>
.