From 1528067ffb024fed0b3cf8b9d6e563ce7399975a Mon Sep 17 00:00:00 2001 From: "Tj (bougyman) Vanderpoel" Date: Mon, 3 Nov 2025 15:55:48 -0600 Subject: [PATCH 1/3] fix: Corrects publisher for gem --- ci/publish-gem.sh | 2 +- lib/linear/cli/version.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ci/publish-gem.sh b/ci/publish-gem.sh index adee0db..ee4b8ef 100755 --- a/ci/publish-gem.sh +++ b/ci/publish-gem.sh @@ -19,7 +19,7 @@ here=$(cd "$(dirname "$me")" && pwd) root=$(cd "$here/.." && pwd) just_me=$(basename "$me") -: "${GEM_NAME:=leopard}" +: "${GEM_NAME:=linear-cli}" : "${GIT_ORG:=rubyists}" GEM_HOST=$1 diff --git a/lib/linear/cli/version.rb b/lib/linear/cli/version.rb index 6458685..0e5c8f6 100644 --- a/lib/linear/cli/version.rb +++ b/lib/linear/cli/version.rb @@ -3,7 +3,7 @@ module Rubyists module Linear # x-release-please-start-version - VERSION = '1.0.0' + VERSION = '2.0.1' # x-release-please-end end end From 98a6b26c75a4b43db59bd04ac3472209c38e7bc6 Mon Sep 17 00:00:00 2001 From: "Tj (bougyman) Vanderpoel" Date: Mon, 3 Nov 2025 16:05:46 -0600 Subject: [PATCH 2/3] fix: Corrects library autoversioning --- .github/workflows/gem.yaml | 2 ++ .release-please-config.json | 2 +- Readme.adoc | 7 +++++++ lib/linear/cli/version.rb | 4 ++-- 4 files changed, 12 insertions(+), 3 deletions(-) diff --git a/.github/workflows/gem.yaml b/.github/workflows/gem.yaml index a2b161e..297d96b 100644 --- a/.github/workflows/gem.yaml +++ b/.github/workflows/gem.yaml @@ -32,3 +32,5 @@ jobs: bundle install TRACE="$TRACE" GEM_TOKEN="$GEM_TOKEN" ./ci/publish-gem.sh "$REGISTRY" shell: bash + env: + GEM_NAME: linear-cli diff --git a/.release-please-config.json b/.release-please-config.json index 28c55aa..8fafe06 100644 --- a/.release-please-config.json +++ b/.release-please-config.json @@ -11,7 +11,7 @@ "extra-files": [ { "type": "generic", - "path": "lib/linear/version.rb" + "path": "lib/linear/cli/version.rb" }, { "type": "generic", diff --git a/Readme.adoc b/Readme.adoc index e4491f1..fd39c77 100644 --- a/Readme.adoc +++ b/Readme.adoc @@ -218,6 +218,13 @@ The project uses Minitest and RuboCop. Run tests with Rake: $ bundle exec rake ---- +=== Build the gem + +[source,bash] +---- +$ bundle exec gem build +---- + === Conventional Commits (semantic commit messages) This project follows the {conventional-commits} specification. diff --git a/lib/linear/cli/version.rb b/lib/linear/cli/version.rb index 0e5c8f6..a5197da 100644 --- a/lib/linear/cli/version.rb +++ b/lib/linear/cli/version.rb @@ -1,9 +1,9 @@ # frozen_string_literal: true +# x-release-please-start-version module Rubyists module Linear - # x-release-please-start-version VERSION = '2.0.1' - # x-release-please-end end end +# x-release-please-end From c36b7845c36a9ed5095b6d74a917df35feeb8d00 Mon Sep 17 00:00:00 2001 From: "Tj (bougyman) Vanderpoel" Date: Mon, 3 Nov 2025 16:09:45 -0600 Subject: [PATCH 3/3] fix: Adds trailing newline back --- lib/linear/cli/version.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/linear/cli/version.rb b/lib/linear/cli/version.rb index c0b1fde..0e5c8f6 100644 --- a/lib/linear/cli/version.rb +++ b/lib/linear/cli/version.rb @@ -6,4 +6,4 @@ module Linear VERSION = '2.0.1' # x-release-please-end end -end \ No newline at end of file +end