Skip to content

Instantly share code, notes, and snippets.

@divanvisagie
Created October 4, 2017 19:07
Show Gist options
  • Save divanvisagie/3662843a542791744cd9a7982532f9cd to your computer and use it in GitHub Desktop.
Save divanvisagie/3662843a542791744cd9a7982532f9cd to your computer and use it in GitHub Desktop.
#!/bin/sh
if git describe --exact-match --tags HEAD
then
tag=$(git describe --exact-match --tags HEAD)
echo "Found tag $tag"
sbt jdkPackager:packageBin
ghr -u divanvisagie $tag target/universal/jdkpackager/bundles
else
echo "Tag not found"
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment