Welcome to Sunshower! This is a place to start.
The environment POMs/BOMs define common functionality that's used everywhere in the project.
Most work should be done on a feature-branch, i.e. a vanilla Git branch (or fork). These branches will be built and deployed automatically. However, these builds may be overwritten at any time by other feature-branch PRs, so it's best to use your local Maven cache.
The main branch is built automatially but tagged with the build-number.
This allows dependents to refer to a specific build.
To release, navigate to your bill-of-materials file (typically bom/pom.xml
) and make note
of the version (it should always be a SNAPSHOT locally). From there:
- Run
git checkout -b release/<VERSION>
where version is the version from your POM - Merge master via
git pull && git merge master
- Push to your branch--it will be built and released automatically
If everything goes well, you should get a new tag at github.com/sunshower-io/sunshower-env/releases.
If your release fails, you will have to delete the release at Github before trying again.