Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set up automatic versioning #20

Open
lbergelson opened this issue Sep 5, 2018 · 2 comments
Open

Set up automatic versioning #20

lbergelson opened this issue Sep 5, 2018 · 2 comments

Comments

@lbergelson
Copy link
Member

lbergelson commented Sep 5, 2018

We probably want to have the version number be automatically incremented so that it's easy to publish unique snapshot builds and easy to identify which commit produced a specific binary.

Some potential options:

  1. ajoberstar/reckon: a gradle versioning plugin with features like publishing to github
  2. What htsjdk does now, uses the palantir/gradle-git-version plugin to get a version and then does some other stuff to it.
  3. Something completely different
@lbergelson lbergelson changed the title set up automatic versioning Set up automatic versioning Sep 5, 2018
@lbergelson
Copy link
Member Author

I'm pretty happy with how the versioning in htsjdk works now, although it would be nice if it could do some things that the reckon plugin does, like publishing to github release and ignoring non-mainline version tags when determining the version number.

What I want in a version number:
Semantic versioning for releases, + additional information for non-release builds.

examples releases: 0.0.1, 0.1.1-rc1, 1.2.3
example snapshot build: 0.0.1-g4a52d1339-SNAPSHOT

@magicDGS
Copy link
Member

magicDGS commented Sep 6, 2018

I vote for reckon, as the version numbering fits @lbergelson requirements (including the hash/timestamp) and it also allows to publish tagged releases properly to GitHub. Like that, we can also have a proper releasing process with release candidates before doing a release (for early adopters or tests).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants