Gitiles
Code Review
Sign In
source.supwisdom.com
/
common
/
gitflow
/
059e68955b7c9b782f1ce45d86e7f2b88c396fe4
/
.
/
bump-version
blob: f8ae3de84a3177999aa664d2df01d0a60fd2ff4e [
file
] [
log
] [
blame
]
#!/bin/sh
usage
()
{
echo
"usage: bump-version <version-id>"
}
if
[
$
# -ne 1 ]; then
usage
exit
1
fi
echo
"GITFLOW_VERSION=$1"
>
git
-
flow
-
version
git add git
-
flow
-
version
git commit
-
m
"Bumped version number to $1"
git
-
flow
-
version