Skip to content

Commit

Permalink
1.0.14 Updated Apache and Mutillidae
Browse files Browse the repository at this point in the history
  • Loading branch information
webpwnized committed Oct 1, 2023
1 parent abb8352 commit f171894
Showing 1 changed file with 15 additions and 4 deletions.
19 changes: 15 additions & 4 deletions scripts/git.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,18 @@ then
exit 1
fi

sudo git tag -a $1 -m "$2"
sudo git commit -a -m "$1 $2"
sudo git push --tag
sudo git push
VERSION=$1
ANNOTATION=$2

echo "Creating tag $VERSION with annotation \"$ANNOTATION\""
git tag -a $VERSION -m "$ANNOTATION"

echo "Commiting version $VERSION to local branch"
git commit -a -m "$VERSION $ANNOTATION"

echo "Pushing tag $VERSION"
git push --tag

echo "Pushing version $VERSION to upstream"
git push

0 comments on commit f171894

Please sign in to comment.