Update release script
This commit is contained in:
parent
a976cc90fa
commit
2012b60832
11
release.sh
11
release.sh
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user