File tree Expand file tree Collapse file tree 3 files changed +7
-25
lines changed Expand file tree Collapse file tree 3 files changed +7
-25
lines changed Original file line number Diff line number Diff line change 11name : Ruby Gem
22
33on :
4- push :
5- branches : [ master ]
6- pull_request :
7- branches : [ master ]
4+ workflow_dispatch :
85
96jobs :
107 build :
Original file line number Diff line number Diff line change 11We automatically push tags to Rubygems via CI.
22
3- Pre-releases
3+ Release
44============
55
66- Make sure you're on the latest ` master `
77- Bump the version in [ ` version.rb ` ] ( lib/segment/analytics/version.rb )
88- Update [ ` History.md ` ] ( History.md )
9- - Commit these changes. ` git commit -am "Release x.y.z.pre" `
10- - Tag the pre-release. ` git tag -a -m "Version x.y.z.pre" x.y.z.pre `
11- - ` git push -u origin master && git push --tags ` . The tagged commit will be
12- pushed to RubyGems via Travis
13-
14-
15- Promoting pre-releases
16- ======================
17-
18- - Find the tag for the pre-release you want to promote. Use `git tag --list
19- '* .pre'` to list all pre-release tags
20- - Checkout that tag. ` git checkout tags/x.y.z.pre `
21- - Update the version in [ ` version.rb ` ] ( lib/segment/analytics/version.rb ) to not
22- include the ` .pre ` suffix
23- - Commit these changes. ` git commit -am "Promote x.y.z.pre" `
9+ - Commit these changes. ` git commit -am "Release x.y.z." `
2410- Tag the release. ` git tag -a -m "Version x.y.z" x.y.z `
25- - ` git push -u origin master && git push --tags ` . The tagged commit will be
26- pushed to RubyGems via Travis
27- - On ` master ` , add an entry to [ ` History.md ` ] ( History.md ) under ` x.y.z ` that
28- says 'Promoted pre-release to stable'
11+ - `git push -u origin master && git push --tags
12+ - Run the publish action on Github
13+
Original file line number Diff line number Diff line change 22
33module Segment
44 class Analytics
5- VERSION = '2.4.2 '
5+ VERSION = '2.5.0 '
66 end
77end
You can’t perform that action at this time.
0 commit comments