build_plugin: ensure checkout checks out a commit

This commit is contained in:
Adam
2019-12-23 09:55:40 -05:00
parent 96f2035c49
commit 69c184338e

View File

@@ -59,7 +59,7 @@ pushd "$BUILDDIR"
git clone "$repository" "repo"
pushd "repo"
git checkout "$commit"
git checkout "$commit^{commit}"
SIGNING_KEY="" REPO_CREDS="" gradle \
--no-build-cache \
@@ -92,4 +92,4 @@ curl --fail \
--upload-file "$BUILDDIR/plugin.jar" "$LOCATION.jar" \
"${ICON_UPLOAD[@]}"
echo "Build Success"
echo "Build Success"