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
4c90d928
Commit
4c90d928
authored
Sep 30, 2010
by
Felipe Talavera
Committed by
Vincent Driessen
Oct 01, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lets add automatic delete of the branch when the remote flag is set under the release
parent
df706ace
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
git-flow-release
git-flow-release
+3
-0
No files found.
git-flow-release
View file @
4c90d928
...
@@ -264,6 +264,8 @@ cmd_finish() {
...
@@ -264,6 +264,8 @@ cmd_finish() {
die "Could not push to $MASTER_BRANCH from $ORIGIN."
die "Could not push to $MASTER_BRANCH from $ORIGIN."
git push --tags "$ORIGIN" || \
git push --tags "$ORIGIN" || \
die "Could not push tags to $ORIGIN."
die "Could not push tags to $ORIGIN."
git push "$ORIGIN" :"$BRANCH" || \
die "Could not delete the remote $BRANCH in $ORIGIN."
fi
fi
echo
echo
...
@@ -275,6 +277,7 @@ cmd_finish() {
...
@@ -275,6 +277,7 @@ cmd_finish() {
echo "- Release branch '$BRANCH' has been deleted"
echo "- Release branch '$BRANCH' has been deleted"
if flag push; then
if flag push; then
echo "- '$DEVELOP_BRANCH', '$MASTER_BRANCH' and tags have been pushed to '$ORIGIN'"
echo "- '$DEVELOP_BRANCH', '$MASTER_BRANCH' and tags have been pushed to '$ORIGIN'"
echo "- Release branch '$BRANCH' in '$ORIGIN' has been deleted."
fi
fi
echo
echo
}
}
...
...
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