File tree Expand file tree Collapse file tree 5 files changed +46
-4
lines changed Expand file tree Collapse file tree 5 files changed +46
-4
lines changed Original file line number Diff line number Diff line change 15
15
16
16
<name >ABI Parser support for Microprofile</name >
17
17
<description >Library that provides an implementation of the ABI parser for Microprofile</description >
18
- <url >https://github.com/OpenElements/hiero -enterprise-java</url >
18
+ <url >https://github.com/OpenElements/solidity -enterprise-java</url >
19
19
20
20
<dependencies >
21
21
<dependency >
Original file line number Diff line number Diff line change 15
15
16
16
<name >Hiero Enterprise ABI Parser Simple</name >
17
17
<description >Library that provides a basic (GSON based) implementation of the API to parse ABI data</description >
18
- <url >https://github.com/OpenElements/hiero -enterprise-java</url >
18
+ <url >https://github.com/OpenElements/solidity -enterprise-java</url >
19
19
20
20
<dependencies >
21
21
<dependency >
Original file line number Diff line number Diff line change 15
15
16
16
<name >ABI Parser support for Spring</name >
17
17
<description >Library that provides an implementation of the ABI parser for Spring</description >
18
- <url >https://github.com/OpenElements/hiero -enterprise-java</url >
18
+ <url >https://github.com/OpenElements/solidity -enterprise-java</url >
19
19
20
20
<dependencies >
21
21
<dependency >
Original file line number Diff line number Diff line change 15
15
16
16
<name >Hiero Enterprise ABI Parser</name >
17
17
<description >Library that provides an API to parse ABI data</description >
18
- <url >https://github.com/OpenElements/hiero -enterprise-java</url >
18
+ <url >https://github.com/OpenElements/solidity -enterprise-java</url >
19
19
20
20
<dependencies >
21
21
<dependency >
Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+ set -e # Exit the script if any command fails
3
+
4
+ if [ -z " $1 " ]; then
5
+ echo " Please provide version that should be released and the next snapshot version. Example: ./release.sh 0.1.0 0.2.0-SNAPSHOT"
6
+ exit 1
7
+ fi
8
+
9
+ if [ -z " $2 " ]; then
10
+ echo " Please provide version that should be released and the next snapshot version. Example: ./release.sh 0.1.0 0.2.0-SNAPSHOT"
11
+ exit 1
12
+ fi
13
+
14
+ if ! [[ " $1 " =~ ^[0-9]+\. [0-9]+\. [0-9]+$ ]]; then
15
+ echo " The release version must be in the format A.B.C. Example: 0.1.0"
16
+ exit 1
17
+ fi
18
+
19
+ if ! [[ " $2 " =~ ^[0-9]+\. [0-9]+\. [0-9]+-SNAPSHOT$ ]]; then
20
+ echo " The next snapshot version must be in the format A.B.C-SNAPSHOT. Example: 0.2.0-SNAPSHOT"
21
+ exit 1
22
+ fi
23
+
24
+ NEW_VERSION=" $1 "
25
+ NEXT_VERSION=" $2 "
26
+
27
+ export $( grep -v ' ^#' .env | xargs)
28
+
29
+ ./mvnw clean
30
+
31
+ echo " Releasing version $NEW_VERSION "
32
+ ./mvnw versions:set -DnewVersion=$NEW_VERSION
33
+ ./mvnw clean verify -DskipTests
34
+ git commit -am " Version $NEW_VERSION "
35
+ git push
36
+ ./mvnw -Ppublication deploy -DskipTests
37
+ ./mvnw -Ppublication jreleaser:full-release
38
+
39
+ echo " Setting version to $NEXT_VERSION "
40
+ ./mvnw versions:set -DnewVersion=$NEXT_VERSION
41
+ git commit -am " Version $NEXT_VERSION "
42
+ git push
You can’t perform that action at this time.
0 commit comments