Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tag releases automatically #71

Merged
merged 1 commit into from Jun 9, 2015
Merged

Tag releases automatically #71

merged 1 commit into from Jun 9, 2015

Conversation

quis
Copy link
Contributor

@quis quis commented Jun 9, 2015

This commit adds a Jenkins-friendly script to automatically tag releases whenever someone makes a "Bump version to…" commit message.

It will annotate the tagging with whatever merge commits have been made since the last tag.

This commit adds a Jenkins-friendly script to automatically tag releases
whenever someone makes a "Bump version to…" commit message.

It will annotate the tagging with whatever the commit message of the version
bump was (eg a description of what has changed)
echo "CHANGES:"
echo $changes
echo "================================================================================"
git tag -a v$version -m "Release version $version
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this missing a closing "?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nope, it's a multiline string. The whole message is:

"Release version $version

Includes:
$changes"

tombye added a commit that referenced this pull request Jun 9, 2015
@tombye tombye merged commit 6b71ffc into master Jun 9, 2015
@tombye tombye deleted the release-tagging branch June 9, 2015 15:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants