File tree 5 files changed +7
-6
lines changed
5 files changed +7
-6
lines changed Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
2
# Only use this script when releasing bug fixes (removes SNAPSHOT for version)
3
+ set -e
3
4
git checkout main
4
5
5
6
project_version=$( mvn help:evaluate -q -DforceStdout -D" expression=project.version" )
@@ -15,7 +16,7 @@ echo New Version: ${new_version}
15
16
mvn versions:set -DremoveSnapshot -DgenerateBackupPoms=false
16
17
mvn clean install
17
18
git add .
18
- git commit -m \ " release ${project_version_number_only} \ "
19
+ git commit -m " release ${project_version_number_only} "
19
20
git push
20
21
21
22
git tag release-${project_version_number_only}
@@ -24,6 +25,6 @@ git push origin release-${project_version_number_only}
24
25
mvn versions:set -DgenerateBackupPoms=false -DnewVersion=${new_version}
25
26
mvn clean install
26
27
git add .
27
- git commit -m \ " preparing for next development iteration\ "
28
+ git commit -m " preparing for next development iteration"
28
29
git push
29
30
Original file line number Diff line number Diff line change 13
13
<parent >
14
14
<artifactId >imagetool-parent</artifactId >
15
15
<groupId >com.oracle.weblogic.lifecycle.imagetool</groupId >
16
- <version >1.14.4-SNAPSHOT </version >
16
+ <version >1.14.4</version >
17
17
<relativePath >../pom.xml</relativePath >
18
18
</parent >
19
19
Original file line number Diff line number Diff line change 13
13
<parent >
14
14
<artifactId >imagetool-parent</artifactId >
15
15
<groupId >com.oracle.weblogic.lifecycle.imagetool</groupId >
16
- <version >1.14.4-SNAPSHOT </version >
16
+ <version >1.14.4</version >
17
17
<relativePath >../pom.xml</relativePath >
18
18
</parent >
19
19
Original file line number Diff line number Diff line change 8
8
<modelVersion >4.0.0</modelVersion >
9
9
<groupId >com.oracle.weblogic.lifecycle.imagetool</groupId >
10
10
<artifactId >imagetool-parent</artifactId >
11
- <version >1.14.4-SNAPSHOT </version >
11
+ <version >1.14.4</version >
12
12
<packaging >pom</packaging >
13
13
14
14
<name >WebLogic Image Tool</name >
Original file line number Diff line number Diff line change 12
12
<parent >
13
13
<artifactId >imagetool-parent</artifactId >
14
14
<groupId >com.oracle.weblogic.lifecycle.imagetool</groupId >
15
- <version >1.14.4-SNAPSHOT </version >
15
+ <version >1.14.4</version >
16
16
<relativePath >../pom.xml</relativePath >
17
17
</parent >
18
18
You can’t perform that action at this time.
0 commit comments