mirror of
https://github.com/marcin-szczepanski/jFuzzyLogic.git
synced 2024-12-18 16:35:27 +01:00
15 lines
210 B
Plaintext
15 lines
210 B
Plaintext
|
#!/bin/sh -e
|
||
|
|
||
|
ver="$1"
|
||
|
|
||
|
# Parse command line parameter
|
||
|
if [ -z "$ver" ]
|
||
|
then
|
||
|
echo Argument version number missing
|
||
|
exit 1
|
||
|
fi
|
||
|
|
||
|
# Tag and push tags
|
||
|
git tag -a "v$ver" -m "Release v$ver"
|
||
|
git push origin "v$ver"
|