File tree 2 files changed +31
-2
lines changed
2 files changed +31
-2
lines changed Original file line number Diff line number Diff line change
1
+ # Release
2
+
3
+ Uses [ axion release] ( https://axion-release-plugin.readthedocs.io/en/latest/ ) plugin.
4
+
5
+ ./gradlew release
6
+
7
+ If you need to release with a SNAPSHOT dependency:
8
+
9
+ ./gradlew release -Prelease.disableChecks
10
+
11
+ Otherwise, axion-release will fail the prerelease check. Only do this for testing.
12
+
13
+ ## Next minor version
14
+
15
+ ./gradlew markNextVersion -Prelease.incrementer=incrementMinor
16
+
17
+ Updates minor version without releasing, e.g. 0.1.x-SNAPSHOT becomes 0.2.0-SNAPSHOT
18
+
19
+ ## Force version
20
+
21
+ ./gradlew release -Prelease.forceVersion=3.0.0
Original file line number Diff line number Diff line change 13
13
* See the License for the specific language governing permissions and
14
14
* limitations under the License.
15
15
*/
16
-
17
- version ' 1.0.2'
16
+ plugins {
17
+ id ' pl.allegro.tech.build.axion-release' version ' 1.9.3'
18
+ }
18
19
19
20
20
21
ext. rundeckPluginVersion = ' 1.2'
@@ -34,6 +35,13 @@ repositories {
34
35
mavenLocal()
35
36
}
36
37
38
+ scmVersion {
39
+ tag {
40
+ prefix = ' v'
41
+ versionSeparator = ' '
42
+ }
43
+ }
44
+ version scmVersion. version
37
45
configurations {
38
46
pluginLibs
39
47
You can’t perform that action at this time.
0 commit comments