File tree 3 files changed +7
-25
lines changed
3 files changed +7
-25
lines changed Original file line number Diff line number Diff line change 1
1
name : Ruby Gem
2
2
3
3
on :
4
- push :
5
- branches : [ master ]
6
- pull_request :
7
- branches : [ master ]
4
+ workflow_dispatch :
8
5
9
6
jobs :
10
7
build :
Original file line number Diff line number Diff line change 1
1
We automatically push tags to Rubygems via CI.
2
2
3
- Pre-releases
3
+ Release
4
4
============
5
5
6
6
- Make sure you're on the latest ` master `
7
7
- Bump the version in [ ` version.rb ` ] ( lib/segment/analytics/version.rb )
8
8
- 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." `
24
10
- 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 2
2
3
3
module Segment
4
4
class Analytics
5
- VERSION = '2.4.2 '
5
+ VERSION = '2.5.0 '
6
6
end
7
7
end
You can’t perform that action at this time.
0 commit comments