Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
mutalyzer
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Analyze
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Mirrors
mutalyzer
Commits
7bd44188
Commit
7bd44188
authored
10 years ago
by
Vermaat
Browse files
Options
Downloads
Patches
Plain Diff
Fix error in git tag instructions
parent
e30b473b
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
doc/release.rst
+8
-4
8 additions, 4 deletions
doc/release.rst
with
8 additions
and
4 deletions
doc/release.rst
+
8
−
4
View file @
7bd44188
...
...
@@ -29,7 +29,7 @@ the latest release is available from the `release` branch.
Release procedure
-----------------
Releasing a new version is done as follows. This assumes remote `
origin
` is
Releasing a new version is done as follows. This assumes remote `
github
` is
the upstream Mutalyzer repository and you have push rights there.
1. Start a release branch and make sure the section in the ``CHANGES.rst``
...
...
@@ -51,7 +51,7 @@ the upstream Mutalyzer repository and you have push rights there.
Commit and tag the version update::
git commit -am 'Bump version to X.Y.Z'
git tag -a 'vX.Y.Z'
release-X.Y.Z^
git tag -a 'vX.Y.Z'
3. Add a new entry at the top of the ``CHANGES.rst`` file like this::
...
...
@@ -67,7 +67,7 @@ the upstream Mutalyzer repository and you have push rights there.
4. Push these commits to GitHub::
git push
origin
release-X.Y.Z -u
git push
github
release-X.Y.Z -u
And submit a pull request for this branch.
...
...
@@ -77,8 +77,12 @@ the upstream Mutalyzer repository and you have push rights there.
::
git push
origin vX.Y.Z:
release --tags
git push
github +vX.Y.Z~0:refs/heads/
release --tags
git branch -d release-X.Y.Z
That last push command might seem a bit cryptic (`it is explained here
<http://stackoverflow.com/a/4061542>`_). It sets the remote branch
`release` to whatever the tag `vX.Y.Z` points to and also pushes all tags.
.. _SemVer: http://semver.org/
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment