Skip to content

Commit

Permalink
inline plugins (#1684)
Browse files Browse the repository at this point in the history
  • Loading branch information
david authored May 19, 2020
1 parent 0161d31 commit c54759c
Show file tree
Hide file tree
Showing 14 changed files with 13 additions and 20 deletions.
2 changes: 1 addition & 1 deletion plugins/access
Submodule access updated 1 files
+1 −1 VERSION.txt
2 changes: 1 addition & 1 deletion plugins/atomic
Submodule atomic updated 1 files
+1 −1 VERSION.txt
2 changes: 1 addition & 1 deletion plugins/builder
Submodule builder updated 1 files
+1 −1 VERSION.txt
2 changes: 1 addition & 1 deletion plugins/compass
Submodule compass updated 1 files
+1 −1 VERSION.txt
2 changes: 1 addition & 1 deletion plugins/gameboard
Submodule gameboard updated 1 files
+1 −1 VERSION.txt
2 changes: 1 addition & 1 deletion plugins/human
Submodule human updated 1 files
+1 −0 VERSION.txt
2 changes: 1 addition & 1 deletion plugins/manx
Submodule manx updated 1 files
+1 −1 VERSION.txt
2 changes: 1 addition & 1 deletion plugins/mock
Submodule mock updated 1 files
+1 −1 VERSION.txt
2 changes: 1 addition & 1 deletion plugins/response
Submodule response updated 1 files
+1 −1 VERSION.txt
2 changes: 1 addition & 1 deletion plugins/sandcat
Submodule sandcat updated 2 files
+1 −1 VERSION.txt
+33 −1 app/sand_svc.py
2 changes: 1 addition & 1 deletion plugins/ssl
Submodule ssl updated 1 files
+1 −1 VERSION.txt
2 changes: 1 addition & 1 deletion plugins/stockpile
Submodule stockpile updated 1 files
+1 −1 VERSION.txt
2 changes: 1 addition & 1 deletion plugins/training
Submodule training updated 1 files
+1 −1 VERSION.txt
7 changes: 0 additions & 7 deletions release.sh
Original file line number Diff line number Diff line change
@@ -1,16 +1,9 @@
#!/bin/bash

function tag_version(){
git add VERSION.txt
git commit -m "Upgrading VERSION to ${1}. Release notes to follow." && git push origin master
git tag $1 && git push origin $1
}

function update_version(){
git reset --hard origin/master && git checkout master && git pull
newHash=$(dirhash . -a md5 -i "/plugins/ .*/ _*/" -m "*.py *.html *.js *.go")
echo "${1}-${newHash}" > VERSION.txt
tag_version $1
}

read -p "[+] Enter a new version: " newVersion
Expand Down

0 comments on commit c54759c

Please sign in to comment.