release
This commit is contained in:
parent
616c99d822
commit
a6b4830fbc
2 changed files with 19 additions and 4 deletions
|
@ -18,7 +18,7 @@ apply plugin: 'kotlinx-serialization'
|
|||
|
||||
|
||||
group = 'org.domaindrivenarchitecture.provs'
|
||||
version = '0.9.0-SNAPSHOT'
|
||||
version = '0.9.0'
|
||||
|
||||
repositories {
|
||||
mavenCentral()
|
||||
|
|
|
@ -1,8 +1,23 @@
|
|||
# How to create a release
|
||||
|
||||
A release can be created by creating a git tag for a commit. The tag must follow this pattern:
|
||||
v1.2 or v1.2.3
|
||||
release-1.2 or release-1.2.3
|
||||
|
||||
I.e.: vX.X.Z where X, Y, Z are the major, minor resp. the patch level of the release. Z can be omitted.
|
||||
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.
|
||||
|
||||
**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
|
||||
```
|
Loading…
Reference in a new issue