mirror of
https://github.com/gosticks/iota.lib.java.git
synced 2025-10-16 11:45:37 +00:00
Improve RELEASE file
This commit is contained in:
parent
42b6a8719b
commit
66145470f6
22
RELEASE.adoc
22
RELEASE.adoc
@ -1,22 +0,0 @@
|
||||
## Release process
|
||||
|
||||
This project uses a simplified release process, where you only need to push a tag starting with
|
||||
`release-`, followed by a version number. For instance, pushing a tag named `release-0.9.3` would
|
||||
tell Travis to release the version `0.9.3`.
|
||||
|
||||
### TL;DR
|
||||
|
||||
```bash
|
||||
git checkout master
|
||||
git fetch upstream
|
||||
git rebase upstream/master
|
||||
git tag release-0.9.3
|
||||
git push upstream release-0.9.3
|
||||
```
|
||||
|
||||
### Long version
|
||||
|
||||
Once a new tag is pushed to the main repository, a Travis build will be started for it. Once the
|
||||
build script detects that it's a release build, it will start a new Maven release process
|
||||
(`mvn release:prepare release:perform`) and upload the artifacts to Bintray, which is synchronized
|
||||
with Maven Central.
|
||||
18
RELEASE.md
Normal file
18
RELEASE.md
Normal file
@ -0,0 +1,18 @@
|
||||
# Release process
|
||||
|
||||
This project uses a simplified release process, where you only need to push a tag starting with `release-`, followed by a version number. For instance, pushing a tag named `release-0.9.3` would tell Travis CI to release the version `0.9.3`.
|
||||
|
||||
## TL;DR
|
||||
|
||||
```bash
|
||||
git checkout master
|
||||
git fetch upstream
|
||||
git rebase upstream/master
|
||||
git tag release-0.9.X
|
||||
git push upstream release-0.9.X
|
||||
```
|
||||
|
||||
## Explanation
|
||||
|
||||
Once a new tag is pushed to the main repository, a Travis build will be started for it.
|
||||
Once the build script detects that it's a release build, it will start a new Maven release process (`mvn release:prepare release:perform`) and upload the artifacts to Bintray, which is synchronized with Maven Central.
|
||||
Loading…
Reference in New Issue
Block a user