Sign jars based on current commit instead of tag

This commit is contained in:
Jonas Herzig
2018-03-15 22:56:40 +01:00
parent 31a9e4eaf6
commit 9cdd1bbca8

View File

@@ -44,7 +44,7 @@ popd # Back to root
./gradlew -Preprod $PROXY_SETTINGS -I gradle/reprod/init.gradle "$@" ./gradlew -Preprod $PROXY_SETTINGS -I gradle/reprod/init.gradle "$@"
if [ "$SIGNED_JAR" == "1" ]; then if [ "$(git blame -p version.txt | head -n1 | cut -d' ' -f1)" == "$(git rev-parse HEAD)" ]; then
echo "Trying to fetch signature for resulting jar files.." echo "Trying to fetch signature for resulting jar files.."
pushd versions pushd versions
for ver in */; do for ver in */; do