You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
625 B
Markdown
23 lines
625 B
Markdown
3 years ago
|
# How to create a release
|
||
|
|
||
|
A release can be created by creating a git tag for a commit. The tag must follow this pattern:
|
||
2 years ago
|
release-1.2 or release-1.2.3
|
||
3 years ago
|
|
||
2 years ago
|
I.e.: release-X.X.Z where X, Y, Z are the major, minor resp. the patch level of the release. Z can be omitted.
|
||
3 years ago
|
|
||
2 years ago
|
**Note:** Such kind of release tags should only be applied to commits in the master branch.
|
||
|
|
||
|
```
|
||
|
#adjust [version]
|
||
|
vi build.gradle
|
||
|
|
||
|
# release via git
|
||
|
git commit -am "release"
|
||
|
git tag -am "release" release-[release version no]
|
||
|
git push --follow-tags
|
||
|
|
||
|
# bump version - increase version and add -SNAPSHOT
|
||
|
vi build.gradle
|
||
|
git commit -am "version bump"
|
||
|
git push
|
||
|
```
|