adjust release script
This commit is contained in:
parent
5ccd65e46e
commit
cdc0e0fa3e
@ -1,7 +1,7 @@
|
||||
#!/bin/bash
|
||||
# nothing to see here, just a utility i use to create new releases ^_^
|
||||
|
||||
VERSION_FILE=$(dirname "${BASH_SOURCE[0]}")/../pwnagotchi/__init__.py
|
||||
VERSION_FILE=$(dirname "${BASH_SOURCE[0]}")/../pwnagotchi/_version.py
|
||||
echo "version file is $VERSION_FILE"
|
||||
CURRENT_VERSION=$(cat $VERSION_FILE | grep version | cut -d"'" -f2)
|
||||
TO_UPDATE=(
|
||||
@ -25,4 +25,4 @@ git tag -a v$NEW_VERSION -m "release v$NEW_VERSION"
|
||||
git push origin v$NEW_VERSION
|
||||
|
||||
echo
|
||||
echo "All done, v$NEW_VERSION released ^_^"
|
||||
echo "All done, v$NEW_VERSION released ^_^"
|
||||
|
Loading…
x
Reference in New Issue
Block a user