Skip to content
This repository was archived by the owner on May 30, 2024. It is now read-only.

Commit 8a00a32

Browse files
author
Dan Richelson
committed
Fix release script so it works on linux + mac
1 parent eb37aee commit 8a00a32

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

scripts/release.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@ echo "Starting java-client release."
1414
VERSION=$1
1515

1616
#Update version in gradle.properties file:
17-
sed -i '' "s/^version.*$/version=${VERSION}/" gradle.properties
17+
sed -i.bak "s/^version.*$/version=${VERSION}/" gradle.properties
18+
rm -f gradle.properties.bak
1819
./gradlew clean test install sourcesJar javadocJar uploadArchives closeAndReleaseRepository
1920
./gradlew publishGhPages
2021
echo "Finished java-client release."

0 commit comments

Comments
 (0)