Skip to content

Commit

Permalink
Merge pull request #86 from ClosureTree/release
Browse files Browse the repository at this point in the history
feat: add release workflow
  • Loading branch information
seuros authored Jan 21, 2024
2 parents f86f5db + 73bd5d3 commit ebbad97
Show file tree
Hide file tree
Showing 4 changed files with 36 additions and 2 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: release-please

on:
push:
branches:
- master
workflow_dispatch:

permissions:
contents: write
pull-requests: write

jobs:
release-please:
runs-on: ubuntu-latest
steps:
- uses: google-github-actions/release-please-action@v4
id: release
with:
command: manifest
1 change: 1 addition & 0 deletions .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{}
9 changes: 9 additions & 0 deletions release-please-config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"release-type": "ruby",
"packages": {
".": {
"release-type": "ruby",
"package-name": "with_advisory_lock"
}
}
}
8 changes: 6 additions & 2 deletions with_advisory_lock.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,13 @@ Gem::Specification.new do |spec|
spec.files = `git ls-files`.split($INPUT_RECORD_SEPARATOR)
spec.test_files = spec.files.grep(%r{^test/})
spec.require_paths = %w[lib]
spec.metadata = { "rubyspecs_mfa_required" => "true" }
spec.metadata = { 'rubyspecs_mfa_required' => 'true' }
spec.required_ruby_version = '>= 2.7.0'
spec.metadata["yard.run"] = "yri"
spec.metadata['yard.run'] = 'yri'

spec.metadata['homepage_uri'] = spec.homepage
spec.metadata['source_code_uri'] = 'https://github.com/ClosureTree/with_advisory_lock'
spec.metadata['changelog_uri'] = 'https://github.com/ClosureTree/with_advisory_lock/blob/master/CHANGELOG.md'

spec.add_runtime_dependency 'activerecord', '>= 6.1'

Expand Down

0 comments on commit ebbad97

Please sign in to comment.