From 71846b41965ab494efe9ba388e430aa415e94af0 Mon Sep 17 00:00:00 2001 From: Tom de Bruijn Date: Tue, 2 Jul 2024 12:53:38 +0200 Subject: [PATCH] Remove last bits of Semaphore config and artifacts (#1136) Follow up of #1134 where I forgot to update and remove some things for the Semaphore CI. --- README.md | 1 - Rakefile | 2 +- support/check_versions | 22 ---------------------- 3 files changed, 1 insertion(+), 24 deletions(-) delete mode 100755 support/check_versions diff --git a/README.md b/README.md index 9d1b2a98b..fc5e83843 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,6 @@ issues. - [Ruby code documentation][ruby-doc] - [Support][contact] -[![Build status](https://appsignal.semaphoreci.com/badges/appsignal-ruby/branches/main.svg)](https://appsignal.semaphoreci.com/projects/appsignal-ruby) [![Gem Version](https://badge.fury.io/rb/appsignal.svg)](http://badge.fury.io/rb/appsignal) [![Code Climate](https://codeclimate.com/github/appsignal/appsignal.png)](https://codeclimate.com/github/appsignal/appsignal) diff --git a/Rakefile b/Rakefile index 2f005870a..d1d0d0816 100644 --- a/Rakefile +++ b/Rakefile @@ -127,7 +127,7 @@ namespace :build_matrix do output = `git status` if output.include? GITHUB_ACTION_WORKFLOW_FILE puts "The `#{GITHUB_ACTION_WORKFLOW_FILE}` is modified. The changes were not committed." - puts "Please run `rake build_matrix:semaphore:generate` and commit the changes." + puts "Please run `rake build_matrix:github:generate` and commit the changes." exit 1 end end diff --git a/support/check_versions b/support/check_versions deleted file mode 100755 index 5ddf72262..000000000 --- a/support/check_versions +++ /dev/null @@ -1,22 +0,0 @@ -#!/bin/bash - -set -eu - -actual_ruby_version=$(ruby --version) -if [[ "$actual_ruby_version" == *"jruby"* ]]; then - # Replace "-" from specified RUBY_VERSION string. Semaphore/rbenv version uses - # a dash, where `jruby --version` uses a space. - sanitized_ruby_version="${RUBY_VERSION//-/ }" -else - # Strip "-" from specified RUBY_VERSION string. Semaphore/rbenv version uses - # a dash, where `ruby --version` does not. - sanitized_ruby_version="${RUBY_VERSION//-}" -fi -if [[ "$actual_ruby_version" == *"$sanitized_ruby_version"* ]]; then - echo "Ruby version is $RUBY_VERSION" - exit 0 -else - echo "Ruby version is: $actual_ruby_version" - echo "Ruby version should be: $sanitized_ruby_version" - exit 1 -fi