Skip to content

Commit 35e2a14

Browse files
committed
remove gem publishing workflow, gem can be manually released
1 parent ebc9913 commit 35e2a14

File tree

2 files changed

+2
-43
lines changed

2 files changed

+2
-43
lines changed

.circleci/config.yml

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

33
version: 2.1
44

5-
orbs:
6-
gem: doximity/gem-publisher@0
7-
85
executors:
96
ruby-latest:
107
resource_class: small
@@ -42,20 +39,13 @@ jobs:
4239
name: Install Bundler specific version
4340
command: |
4441
gem install bundler --version "${BUNDLE_VERSION}" --force
45-
- restore_cache:
46-
keys:
47-
- v1-bundle-{{ checksum "Gemfile.lock" }}-
4842
- run:
4943
name: Install Bundler specific version
5044
command: |
5145
gem install bundler --version "~> 1.17" --force
5246
- run:
5347
name: Install Ruby Dependencies
54-
command: bundle check --path=vendor/bundle || bundle install
55-
- save_cache:
56-
key: v1-bundle-{{ checksum "Gemfile.lock" }}-
57-
paths:
58-
- vendor/bundle
48+
command: bundle install --local --frozen
5949
- run:
6050
name: Run Tests
6151
command: bundle exec rake test
@@ -80,44 +70,13 @@ workflows:
8070
jobs:
8171
- build:
8272
<<: *pr_only
83-
- gem/build:
84-
executor: ruby-latest
85-
requires:
86-
- build
87-
- pre-release-approval:
88-
type: approval
89-
requires:
90-
- gem/build
91-
- gem/publish:
92-
to_nexus: true
93-
pre_release: true
94-
requires:
95-
- pre-release-approval
96-
context: artifact_publishing
9773

9874
trunk:
9975
jobs:
10076
- build:
10177
<<: *master_only
102-
- gem/build:
103-
executor: ruby-latest
104-
requires:
105-
- build
10678

10779
final-release:
10880
jobs:
10981
- build:
11082
<<: *version_tags_only
111-
- gem/build:
112-
<<: *version_tags_only
113-
executor: ruby-latest
114-
requires:
115-
- build
116-
- gem/publish:
117-
<<: *version_tags_only
118-
name: gem-publish
119-
to_rubygems: true
120-
pre_release: false
121-
requires:
122-
- gem/build
123-
context: artifact_publishing

Gemfile.lock

+1-1
Original file line numberDiff line numberDiff line change
@@ -199,4 +199,4 @@ DEPENDENCIES
199199
standardrb
200200

201201
BUNDLED WITH
202-
2.2.14
202+
2.4.3

0 commit comments

Comments
 (0)