diff --git a/.gitignore b/.gitignore index e37b44d..f9917b3 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,6 @@ +# Used to store github access token for releasing +/access_token + ################ # IntelliJ # ################ diff --git a/release.sh b/release.sh new file mode 100755 index 0000000..9a30a5b --- /dev/null +++ b/release.sh @@ -0,0 +1,17 @@ +#/bin/bash + +if [ -z "$1" ]; then + echo "Usage: $0 " + exit -1 +fi + +if [ ! -f access_token ]; then + echo "Place your access token in a file called access_token" + exit -2 +fi + +VERSION=$1 +ACCESS_TOKEN=$(