Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
44 changes: 0 additions & 44 deletions .github/workflows/release.yml

This file was deleted.

3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

<p align="center">
<a href="https://github.com/danielpclark/sqrl-ruby/actions/workflows/ci.yml"><img src="https://github.com/danielpclark/sqrl-ruby/actions/workflows/ci.yml/badge.svg?branch=main" alt="CI"></a>
<a href="https://github.com/danielpclark/sqrl-ruby/actions/workflows/release.yml"><img src="https://github.com/danielpclark/sqrl-ruby/actions/workflows/release.yml/badge.svg" alt="Release"></a>
<a href="LICENSE"><img src="https://img.shields.io/github/license/danielpclark/sqrl-ruby?color=blue" alt="MIT License"></a>
<img src="https://img.shields.io/badge/ruby-%E2%89%A5%203.1-CC342D?logo=ruby&logoColor=white" alt="Ruby 3.1 or newer">
<img src="https://img.shields.io/maintenance/yes/2026" alt="Maintained">
Expand Down Expand Up @@ -90,7 +89,7 @@ bundle exec rake spec:gems # every gem's specs
bundle exec rake spec:integration # boots each example app over HTTPS and drives it with the bot client and a headless browser
bundle exec rspec spec/interop # the conformance suite against the Rust reference server
bundle exec rubocop # lint (enforced in CI)
bundle exec rake build # packages the six gems into pkg/; `rake release_check` lists them
bundle exec rake build # packages the six gems into pkg/
```

Each application under [`examples/`](examples) is a complete, independently bundled
Expand Down
11 changes: 1 addition & 10 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ task spec: ["spec:gems", "spec:integration"]

task default: "spec:gems"

desc "Build every gem into pkg/ (what the release workflow pushes)"
desc "Build every gem into pkg/"
task :build do
require "fileutils"
require_relative "gems/sqrl-core/lib/sqrl/version"
Expand All @@ -39,12 +39,3 @@ task :build do
end
end
end

desc "Check that every gem builds cleanly and, when GITHUB_REF_NAME is set, that the tag matches SQRL::VERSION"
task release_check: :build do
Dir["pkg/*.gem"].each { |g| puts "built #{g}" }
tag = ENV.fetch("GITHUB_REF_NAME", nil)
if tag && tag != "v#{SQRL::VERSION}"
abort "tag #{tag} does not match SQRL::VERSION #{SQRL::VERSION}"
end
end
Loading