blob: a767c0ca31f494ef325265ace0ae0e2e8f3ee724 [file] [log] [blame]
#!/bin/bash
###########################################################
# Use this to release a new version of svunit to github #
# #
# eg. release.bsh 5 #
# - release version 0.5 of svunit #
###########################################################
if [ "$1" == "" ]; then
echo "Error: No release specified"
exit 1
fi
ver="v3.$1"
# update the release number in the svunit_defines.svh file
echo "SVUnit $ver" > VERSION.txt
git add VERSION.txt
git tag -a $ver -m "$ver"
git push --tags
git push