Skip to content

Commit e4d29d4

Browse files
authored
Merge pull request #376 from Shopify/kangze-jia/bump-version-82
Bump version to 82
2 parents f350805 + 82db157 commit e4d29d4

3 files changed

Lines changed: 24 additions & 2 deletions

File tree

ruby/Gemfile.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
PATH
22
remote: .
33
specs:
4-
ci-queue (0.81.0)
4+
ci-queue (0.82.0)
55
logger
66

77
GEM

ruby/README.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,28 @@ rspec-queue --queue redis://example.com --timeout 600 --report
7171

7272
Because of how `ci-queue` executes the examples, `before(:all)` and `after(:all)` hooks are not supported. `rspec-queue` will explicitly reject them.
7373

74+
## Releasing a New Version
75+
76+
After merging changes to `main`, follow these steps to release and propagate the update:
77+
78+
1. **Bump the version** in `ruby/lib/ci/queue/version.rb`:
79+
80+
```ruby
81+
VERSION = '0.XX.0'
82+
```
83+
84+
2. **Update `Gemfile.lock`** by running `bundle install` in the `ruby/` directory (or manually updating the version string in `Gemfile.lock` if native dependencies prevent `bundle install`).
85+
86+
3. **Commit and merge** the version bump to `main`. ShipIt will automatically publish the gem to RubyGems.
87+
88+
4. **Update dependent apps/zones**: Any application that depends on `ci-queue` (e.g. via its `Gemfile`) needs to pick up the new version by running:
89+
90+
```bash
91+
bundle update ci-queue
92+
```
93+
94+
This updates the app's `Gemfile.lock` to reference the new `ci-queue` version. Commit the updated `Gemfile.lock` and deploy.
95+
7496
## Custom Redis Expiry
7597
7698
`ci-queue` expects the Redis server to have an [eviction policy](https://redis.io/docs/manual/eviction/#eviction-policies) of `allkeys-lru`.

ruby/lib/ci/queue/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
module CI
44
module Queue
5-
VERSION = '0.81.0'
5+
VERSION = '0.82.0'
66
DEV_SCRIPTS_ROOT = ::File.expand_path('../../../../../redis', __FILE__)
77
RELEASE_SCRIPTS_ROOT = ::File.expand_path('../redis', __FILE__)
88
end

0 commit comments

Comments
 (0)