Update release script
This commit is contained in:
parent
a976cc90fa
commit
2012b60832
11
release.sh
11
release.sh
|
|
@ -1,8 +1,7 @@
|
|||
#!/bin/bash
|
||||
scope="$1"
|
||||
if [ -z "$scope" ]; then
|
||||
echo Scope not provided
|
||||
exit 1
|
||||
fi
|
||||
./gradlew pushSemverTag -Psemver.scope=$scope
|
||||
echo -n "Currently on: "
|
||||
git describe
|
||||
echo -n "New version: "
|
||||
read newtag
|
||||
git tag -a $newtag -m "$newtag"
|
||||
./gradlew publishToModSites
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user