mirror of
https://github.com/marcin-szczepanski/jFuzzyLogic.git
synced 2024-08-16 18:06:57 +02:00
15 lines
210 B
Bash
Executable File
15 lines
210 B
Bash
Executable File
#!/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"
|