File tree Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Original file line number Diff line number Diff line change 55The Gradle release task creates a release commit and push it to the origin/master branch.
66
77```
8- $ export DOMA_VERSION=1.0.0
98$ git checkout master
109$ git pull
11- $ ./gradlew release -Prelease.releaseVersion=${DOMA_VERSION} -Prelease.newVersion=1.1.0-SNAPSHOT
10+ $ ./gradlew release -Prelease.releaseVersion=2.43.1
1211```
1312
14- The value of ` DOMA_VERSION ` is decided by the draft name of
13+ The value of ` release.releaseVersion ` is decided by the draft name of
1514[ Releases] ( https://github.com/domaframework/doma/releases ) .
1615
1716## Build and Publish
@@ -29,7 +28,7 @@ The workflow builds artifacts and publishes them to [Maven Central](https://repo
2928Use [ Dependency Watch] ( https://github.com/JakeWharton/dependency-watch ) .
3029
3130```
32- $ dependency-watch await org.seasar.doma:doma-core:${DOMA_VERSION} && say "Doma ${DOMA_VERSION} is available!"
31+ $ dependency-watch await org.seasar.doma:doma-core:2.43.1 && say "New version is available!"
3332```
3433
3534If the above command is successful, the following directories will contain the new artifacts:
Original file line number Diff line number Diff line change @@ -220,7 +220,7 @@ rootProject.apply {
220220
221221 named(" updateVersion" ) {
222222 doLast {
223- val newVersion = project.properties[" release.newVersion " ]?.toString()
223+ val newVersion = project.properties[" version " ]?.toString()
224224 checkNotNull(newVersion)
225225 replaceVersionInArtifact(newVersion)
226226 }
You can’t perform that action at this time.
0 commit comments