mirror of
https://github.com/evilsocket/pwnagotchi.git
synced 2026-01-23 02:24:15 +00:00
adjust release script
This commit is contained in:
parent
5ccd65e46e
commit
cdc0e0fa3e
1 changed files with 2 additions and 2 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue