Skip to content

Release from Semaphore when a version tag is pushed - #2

Merged
coorasse merged 2 commits into
mainfrom
semaphore-release
Nov 6, 2026
Merged

coorasse merged 2 commits into
mainfrom
semaphore-release

Conversation

@coorasse

@coorasse coorasse commented Nov 6, 2026 •

Copy link
Copy Markdown
Member

Aligns the CI and release setup with deploio-cli and so_many_devices.

  • .semaphore/semaphore.yml: bin/fastcheck (standardrb) and bin/check on Ruby 3.3, 3.4 and 4.0 × rspec-core 3.13.0 and 3.13.6. Ruby head is dropped: Semaphore would have to compile it on every run.
  • .semaphore/release.yml: promoted automatically when a bare version tag (0.5.0, no v) passes; it checks the tag against the gemspec version and pushes the gem with the rubygems-deploy secret.
  • bin/setup, bin/check, bin/fastcheck, .ruby-version.
  • Code formatted with standardrb (mostly quotes, hash syntax and parenthesised ternaries; no behaviour change).
  • Changelog headings dated (## 0.4.0 - 2026-10-20), - bullets.

Before merging

  • Create the Semaphore project with tag builds enabled and give it access to the rubygems-deploy secret.
  • Semaphore is green on this branch.
  • Remove .github/workflows/ci.yml (kept so this PR still has checks).

🤖 Generated with Claude Code

Alessandro Rodi and others added 2 commits November 6, 2026 11:27
Align with the other Renuo gems (deploio-cli, so_many_devices): Semaphore
runs standardrb and the tests on Ruby 3.3, 3.4 and 4.0 with rspec-core
3.13.0 and 3.13.6, and pushing a bare version tag (0.5.0) promotes the
release pipeline, which checks the tag against the gem version and pushes
it to rubygems.org.

Adds bin/setup, bin/check, bin/fastcheck and .ruby-version, formats the
code with standardrb and dates the changelog headings.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@coorasse
coorasse merged commit 35807d4 into main Nov 6, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant