Initiate semi-automated release process
Main idea: split the release process in two parts.
- Set new version
- Change all version strings, leveraging the Maven Release plugin (
mvn release prepare
) and finishing manually on "orphan modules" and the twoapplication.yml
web-app/asqatasun-web-app/src/main/resources/application.yml
server/asqatasun-server/src/main/resources/application.yml
- Commit, tag and push
- CI should build and copy the artifact to download.Asqatasun.org
- Change all version strings, leveraging the Maven Release plugin (
- Set back the
-SNAPSHOT
version- Change all version strings, leveraging
mvn release prepare
and finishing manually on "orphan modules" - Commit and push
- Change all version strings, leveraging
Resources
- DZone Automate Spring Boot App Deployment With GitLab CI and Docker
- Github Gist fl64/.gitlab-ci.yml
- Shell semver-tool
- Garybell.co.uk Creating a release with GitLab CI and Composer
See also:
Edited by Matthieu FAURE