Skip to content

Commit ff7cd17

Browse files
author
Sam Bauch
authored
Implement CI release to Rubygems (#12)
1 parent 14ada5a commit ff7cd17

3 files changed

Lines changed: 9 additions & 5 deletions

File tree

.ruby-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.7.0
1+
2.6.5

.semaphore/rubygems.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,11 @@ blocks:
1414
jobs:
1515
- name: Publish to Rubygems
1616
commands:
17-
- checkout --use-cache
17+
- checkout
18+
- sem-version ruby 2.6.5
19+
- gem update --system
1820
- gem install bundler
21+
- bundle install
22+
- chmod 0600 /home/semaphore/.gem/credentials
1923
- bundle exec gem build workos --output=release.gem
2024
- bundle exec gem push release.gem

.semaphore/semaphore.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ blocks:
1111
- name: srb tc
1212
commands:
1313
- checkout
14-
- sem-version ruby 2.3.4
14+
- sem-version ruby 2.6.5
1515
- gem install bundler
1616
- bundle install
1717
- bundle exec srb tc
@@ -21,7 +21,7 @@ blocks:
2121
- name: rubocop
2222
commands:
2323
- checkout
24-
- sem-version ruby 2.3.4
24+
- sem-version ruby 2.6.5
2525
- bundle install
2626
- bundle exec rubocop
2727
- name: Run Tests 👩🏽‍🔬
@@ -58,7 +58,7 @@ blocks:
5858
- checkout
5959
- sem-version ruby 2.6.5
6060
- bundle install
61-
- bundle exec rspec
61+
- bundle exec rspec
6262
promotions:
6363
- name: Deploy workos-rb to rubygems
6464
pipeline_file: rubygems.yml

0 commit comments

Comments
 (0)