Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitflow
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
tools
gitflow
Commits
463dd443
Commit
463dd443
authored
Jan 26, 2010
by
Vincent Driessen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add static shell variable that specifies the gitflow release version.
parent
403fdca3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
1 deletion
+7
-1
gitflow
gitflow
+6
-1
gitflow-version
gitflow-version
+1
-0
No files found.
gitflow
View file @
463dd443
...
...
@@ -12,9 +12,15 @@
# Copyright (c) 2010 by Vincent Driessen
#
export
GITFLOW_DIR
=
$(
dirname
"
$0
"
)
usage
()
{
.
"
$GITFLOW_DIR
/gitflow-version"
echo
"gitflow, version
$GITFLOW_VERSION
"
echo
""
echo
"usage: gitflow <start|finish> <type> <args>"
echo
""
echo
"arguments:"
echo
"type can be any of:
\"
feature
\"
,
\"
release
\"
,
\"
hotfix
\"
"
echo
""
}
...
...
@@ -37,7 +43,6 @@ if [ $# -lt 2 ]; then
fi
# Set & check arguments
export
GITFLOW_DIR
=
$(
dirname
"
$0
"
)
ACTION
=
"
$1
"
BTYPE
=
"
$2
"
shift
2
...
...
gitflow-version
0 → 100644
View file @
463dd443
GITFLOW_VERSION=0.0
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment