File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -75,3 +75,24 @@ To use the same server port across several re-runs of this script and
7575ultimately of the `nit.sh` which actually sets up the environment, you
7676can e.g. `export NUT_PORT=34930` (be careful to not use port `12345` which
7777the Java debug bridge seems to use by default, at least in IntelliJ IDEA).
78+
79+ Releasing
80+ ~~~~~~~~~
81+
82+ Follow the standard Maven release process:
83+
84+ mvn release:prepare
85+
86+ This should move the versions and `git tag` the result, build the artifacts
87+ and run tests, and `git push` the repository.
88+
89+ NOTE: There is currently no `mvn release:perform` to push the artifacts to
90+ some Internet repository.
91+
92+ To prepare tarballs (source, docs, binaries) for the NUT website or GitHub
93+ Releases attachment, `git checkout` the commit with exact (not `*-SNAPSHOT`)
94+ version and use the `make-tarballs.sh` script.
95+
96+ Finally, at https://github.com/networkupstools/jNut/releases/new draft a
97+ new release (choose tag, generate notes, attach tarballs and JAR/WAR files
98+ directly) and announce in nut-website::news.txt.
You can’t perform that action at this time.
0 commit comments