-
Notifications
You must be signed in to change notification settings - Fork 120
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #275 from segmentio/MichaelGHSeg/release_2_5_0
Release 2.5.0.
- Loading branch information
Showing
3 changed files
with
7 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,13 @@ | ||
We automatically push tags to Rubygems via CI. | ||
|
||
Pre-releases | ||
Release | ||
============ | ||
|
||
- Make sure you're on the latest `master` | ||
- Bump the version in [`version.rb`](lib/segment/analytics/version.rb) | ||
- Update [`History.md`](History.md) | ||
- Commit these changes. `git commit -am "Release x.y.z.pre"` | ||
- Tag the pre-release. `git tag -a -m "Version x.y.z.pre" x.y.z.pre` | ||
- `git push -u origin master && git push --tags`. The tagged commit will be | ||
pushed to RubyGems via Travis | ||
|
||
|
||
Promoting pre-releases | ||
====================== | ||
|
||
- Find the tag for the pre-release you want to promote. Use `git tag --list | ||
'*.pre'` to list all pre-release tags | ||
- Checkout that tag. `git checkout tags/x.y.z.pre` | ||
- Update the version in [`version.rb`](lib/segment/analytics/version.rb) to not | ||
include the `.pre` suffix | ||
- Commit these changes. `git commit -am "Promote x.y.z.pre"` | ||
- Commit these changes. `git commit -am "Release x.y.z."` | ||
- Tag the release. `git tag -a -m "Version x.y.z" x.y.z` | ||
- `git push -u origin master && git push --tags`. The tagged commit will be | ||
pushed to RubyGems via Travis | ||
- On `master`, add an entry to [`History.md`](History.md) under `x.y.z` that | ||
says 'Promoted pre-release to stable' | ||
- `git push -u origin master && git push --tags | ||
- Run the publish action on Github | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,6 @@ | |
|
||
module Segment | ||
class Analytics | ||
VERSION = '2.4.2' | ||
VERSION = '2.5.0' | ||
end | ||
end |