summaryrefslogtreecommitdiffstats
path: root/CLI/ruby
diff options
context:
space:
mode:
authora14m <[email protected]>2020-12-09 18:39:30 +0100
committera14m <[email protected]>2020-12-09 18:39:30 +0100
commitb913827b7b56b5d2d9df96a0726a1558c8cd555f (patch)
tree8e997d62ef2368c0eb9ef8ccd8fed9b4bee5b2a6 /CLI/ruby
parent573da9e211d4d87e5c15a04d3d85086ca3654808 (diff)
Fix publishing gem (not using rake release)
Rake release requires creating tags and pushing them (and fails because it doesn't have git access)... instead use the build and gem push commands to avoid that while having gem push configured with GEM_HOST_API_KEY
Diffstat (limited to 'CLI/ruby')
-rw-r--r--CLI/ruby/.gitlab-ci.yml5
1 files changed, 4 insertions, 1 deletions
diff --git a/CLI/ruby/.gitlab-ci.yml b/CLI/ruby/.gitlab-ci.yml
index cc795d6..e4d943f 100644
--- a/CLI/ruby/.gitlab-ci.yml
+++ b/CLI/ruby/.gitlab-ci.yml
@@ -54,7 +54,10 @@ release:
<<: *cache
policy: pull
script:
- - bundle exec rake release
+ - bundle exec rake clean
+ - bundle exec rake clobber
+ - bundle exec rake build
+ - bundle exec gem push pkg/terminal_game_of_life-*.gem
release:
tag_name: $CI_COMMIT_TAG
description: "Release: $CI_COMMIT_TAG"