diff options
author | NotNite <hi@notnite.com> | 2023-06-20 15:16:52 -0400 |
---|---|---|
committer | NotNite <hi@notnite.com> | 2023-06-20 15:16:52 -0400 |
commit | 490d368baea7a5281ca2378d8ed812ff9d49dfc7 (patch) | |
tree | eb33c07c221938abca45ef7b813203c20525aab4 /upload_to_modrinth.sh | |
parent | 20692e21107a35f5f45651f655a6a564fc570007 (diff) | |
download | gloppers-490d368baea7a5281ca2378d8ed812ff9d49dfc7.tar.gz gloppers-490d368baea7a5281ca2378d8ed812ff9d49dfc7.tar.bz2 gloppers-490d368baea7a5281ca2378d8ed812ff9d49dfc7.zip |
Modrinth changes
Diffstat (limited to 'upload_to_modrinth.sh')
-rw-r--r-- | upload_to_modrinth.sh | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/upload_to_modrinth.sh b/upload_to_modrinth.sh new file mode 100644 index 0000000..d3cc1e9 --- /dev/null +++ b/upload_to_modrinth.sh @@ -0,0 +1,12 @@ +#!/usr/bin/env bash + +set -a +source .env +set +a + +if [ -z MODRINTH_TOKEN ]; then + echo "No MODRINTH_TOKEN set in .env" + exit 1 +fi + +./gradlew modrinth |