Skip to content

Commit

Permalink
Merge pull request #84 from doximity/jth-private-pre-release
Browse files Browse the repository at this point in the history
Don't publish pre-release to RubyGems.
  • Loading branch information
mrsweaters committed Aug 9, 2022
2 parents bf02d96 + b33bdd0 commit acf5416
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 10 deletions.
15 changes: 8 additions & 7 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,12 +79,12 @@ jobs:
gem install bundler --version "${BUNDLE_VERSION}" --force
- restore_cache:
keys:
- v2-bundle-ruby_2_7-{{ checksum "Gemfile.lock" }}
- v3-bundle-ruby_2_7-{{ checksum "Gemfile.lock" }}
- run:
name: Install Ruby Dependencies
command: bundle check --path=vendor/bundle || bundle install --local --frozen --path=vendor/bundle --jobs=4 --retry=3
- save_cache:
key: v2-bundle-ruby_2_7-{{ checksum "Gemfile.lock" }}
key: v3-bundle-ruby_2_7-{{ checksum "Gemfile.lock" }}
paths:
- vendor/bundle
- run:
Expand All @@ -107,12 +107,12 @@ jobs:
gem install bundler --version "${BUNDLE_VERSION}" --force
- restore_cache:
keys:
- v2-bundle-ruby_3_0-{{ checksum "Gemfile.lock" }}
- v3-bundle-ruby_3_0-{{ checksum "Gemfile.lock" }}
- run:
name: Install Ruby Dependencies
command: bundle check --path=vendor/bundle || bundle install --local --frozen --path=vendor/bundle --jobs=4 --retry=3
- save_cache:
key: v2-bundle-ruby_3_0-{{ checksum "Gemfile.lock" }}
key: v3-bundle-ruby_3_0-{{ checksum "Gemfile.lock" }}
paths:
- vendor/bundle
- run:
Expand All @@ -136,12 +136,12 @@ jobs:
gem install bundler --version "${BUNDLE_VERSION}" --force
- restore_cache:
keys:
- v2-bundle-ruby_3_1-{{ checksum "Gemfile.lock" }}
- v3-bundle-ruby_3_1-{{ checksum "Gemfile.lock" }}
- run:
name: Install Ruby Dependencies
command: bundle check --path=vendor/bundle || bundle install --local --frozen --path=vendor/bundle --jobs=4 --retry=3
- save_cache:
key: v2-bundle-ruby_3_1-{{ checksum "Gemfile.lock" }}
key: v3-bundle-ruby_3_1-{{ checksum "Gemfile.lock" }}
paths:
- vendor/bundle
- run:
Expand Down Expand Up @@ -194,7 +194,8 @@ workflows:
- gem/publish:
<<: *pr_only
name: gem-publish
to_rubygems: true
to_rubygems: false
to_nexus: true
pre_release: true
requires:
- pre-release-approval
Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),

## [Unreleased]

## [0.14.1] - 2022-08-09
### Changed
- Don't publish pre-release builds to RubyGems

## [0.14.0] - 2022-08-04
### Changed
- Use `refresh` instead of `flush` where search is expected to be updated
Expand Down
4 changes: 2 additions & 2 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: .
specs:
es-elasticity (0.14.0)
es-elasticity (0.14.1)
activemodel (>= 5.2.0, < 7.1)
activerecord (>= 5.2.0, < 7.1)
activesupport (>= 5.2.0, < 7.1)
Expand Down Expand Up @@ -34,7 +34,7 @@ GEM
elasticsearch-transport (7.17.1)
faraday (~> 1)
multi_json
faraday (1.10.0)
faraday (1.10.1)
faraday-em_http (~> 1.0)
faraday-em_synchrony (~> 1.0)
faraday-excon (~> 1.1)
Expand Down
2 changes: 1 addition & 1 deletion lib/elasticity/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module Elasticity
VERSION = "0.14.0"
VERSION = "0.14.1"
end
Binary file removed vendor/cache/faraday-1.10.0.gem
Binary file not shown.
Binary file added vendor/cache/faraday-1.10.1.gem
Binary file not shown.

0 comments on commit acf5416

Please sign in to comment.