Update release script

This commit is contained in:
embeddedt 2023-04-25 14:40:14 -04:00
parent a976cc90fa
commit 2012b60832
No known key found for this signature in database
GPG Key ID: A69433EC199B5613

View File

@ -1,8 +1,7 @@
#!/bin/bash #!/bin/bash
scope="$1" echo -n "Currently on: "
if [ -z "$scope" ]; then git describe
echo Scope not provided echo -n "New version: "
exit 1 read newtag
fi git tag -a $newtag -m "$newtag"
./gradlew pushSemverTag -Psemver.scope=$scope
./gradlew publishToModSites ./gradlew publishToModSites