diff options
| author | a14m <[email protected]> | 2020-12-09 18:39:30 +0100 |
|---|---|---|
| committer | a14m <[email protected]> | 2020-12-09 18:39:30 +0100 |
| commit | b913827b7b56b5d2d9df96a0726a1558c8cd555f (patch) | |
| tree | 8e997d62ef2368c0eb9ef8ccd8fed9b4bee5b2a6 | |
| parent | 573da9e211d4d87e5c15a04d3d85086ca3654808 (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
| -rw-r--r-- | CLI/ruby/.gitlab-ci.yml | 5 |
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" |
