Skip to content

Commit 5052ed9

Browse files
committed
Release 2.5.0.
1 parent bb3aed9 commit 5052ed9

File tree

3 files changed

+7
-25
lines changed

3 files changed

+7
-25
lines changed

.github/workflows/gem-push.yml

+1-4
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,7 @@
11
name: Ruby Gem
22

33
on:
4-
push:
5-
branches: [ master ]
6-
pull_request:
7-
branches: [ master ]
4+
workflow_dispatch:
85

96
jobs:
107
build:

RELEASING.md

+5-20
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,13 @@
11
We 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+

lib/segment/analytics/version.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22

33
module Segment
44
class Analytics
5-
VERSION = '2.4.2'
5+
VERSION = '2.5.0'
66
end
77
end

0 commit comments

Comments
 (0)