-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'hyperledger:main' into main
- Loading branch information
Showing
3 changed files
with
6 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -36,25 +36,6 @@ jobs: | |
uses: actions/checkout@v4 | ||
with: | ||
submodules: recursive | ||
# Check whether gradle.properties version has been released already | ||
# This prevents accidently publish same version | ||
# Only check binary for arithmetic as all published together and arithmetic is the first | ||
- name: Check existing release | ||
run: | | ||
# Check whether version contains SNAPSHOT | ||
grep "^version" gradle.properties | grep -q SNAPSHOT || { | ||
# Extract version from gradle.properties | ||
VERSION=$(grep "^version" gradle.properties | sed 's|^version=\(.*\)$|\1|g') | ||
echo "Query for version [$VERSION]" | ||
curl --head -L --silent --output /dev/null --fail "$ART_URL/$VERSION" && { | ||
echo "ERROR: Binary arithmetic already exists for version [$VERSION]" | ||
echo "ERROR: Blocking republishing same version to the Besu Artifactory" | ||
echo "url $ART_URL/$VERSION" | ||
exit 1 | ||
} | ||
} | ||
env: | ||
ART_URL: 'https://hyperledger.jfrog.io/artifactory/besu-maven/org/hyperledger/besu/arithmetic' | ||
- name: Build | ||
run: ./build.sh | ||
- uses: actions/[email protected] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
version=0.9.4-SNAPSHOT | ||
version=0.9.5-SNAPSHOT |