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

Automate release builds #43

Open
dadrus opened this issue Jul 28, 2018 · 0 comments
Open

Automate release builds #43

dadrus opened this issue Jul 28, 2018 · 0 comments

Comments

@dadrus
Copy link
Owner

dadrus commented Jul 28, 2018

It would help a lot if a release can be built and published by just pushing to the release branch. Here the corresponding script should perform following steps:

  1. verify the pushed commit has already been built and successfully tested in the master branch. Otherwise fail.
  2. read the revision value from the top level pom.xml
  3. run the build without tests using the release profile and by setting the revision parameter to the read value from 2 without the -SNAPSHOT suffix.
  4. If the build is successful, tag it using the value from 2 with v prefix and without the -SNAPSHOT suffix. Otherwise fail.
  5. Increment the minor version in the value from 2 and update the revision property in the pom.xml.
  6. Commit the change
  7. Push all changes (commit from 6 and tag from 4) to the origin master.
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

1 participant