We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f2efa05 commit 98cbfd1Copy full SHA for 98cbfd1
1 file changed
build.sh
@@ -3,8 +3,7 @@
3
set -x
4
set -e
5
6
-rm -rf ./bin/
7
-mkdir bin;
+mkdir -p bin;
8
9
javac $(find src -name "*.java") $(find test -name "*.java") -d bin
10
-cd bin && jar -cvf ./java-redis-client-$(git describe).jar $(find . -name "*.class")
+cd bin && jar -cvf ./java-redis-client-$(git describe)--$(javac -version 2>&1 | sed 's/[^a-z0-9._]\+/-/g').jar $(find . -name "*.class")
0 commit comments