misc: using stork for releases

This commit is contained in:
Simone Margaritelli
2021-04-18 15:43:15 +02:00
parent d6c7a73f39
commit 4441ae852c
3 changed files with 7 additions and 85 deletions

7
release.stork Executable file
View File

@ -0,0 +1,7 @@
#!/usr/bin/env stork -f
version:parser "__version__\\s*=\\s*['\"]([\\d\\.ab]+)[\"']"
version:file "pwnagotchi/_version.py"
version:from_user
git:create_tag $VERSION