Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trusted Publishing #490

Merged
merged 2 commits into from
Nov 14, 2024
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
28 changes: 28 additions & 0 deletions .github/workflows/publish_gem.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Publish Gem

on:
push:
tags:
- v*

jobs:
push:
if: github.repository == 'collectiveidea/awesome_nested_set'
runs-on: ubuntu-latest
environment: publishing

permissions:
contents: write
id-token: write

steps:
# Set up
- uses: actions/checkout@v4
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
bundler-cache: true
ruby-version: ruby

# Release
- uses: rubygems/release-gem@v1
4 changes: 4 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
Unreleased version

3.8.0
* Support Rails 8.0 [Takuya N](https://github.com/collectiveidea/awesome_nested_set/pull/487)
* Enable Rubygems Trusted Publishing

3.7.0
* Teach #move_to_child_of and #move_to_child_with_index to accept :root as a parameter [Micah Geisel](https://github.com/botandrose)
* Add #roots method [Micah Geisel](https://github.com/botandrose)
Expand Down
2 changes: 1 addition & 1 deletion lib/awesome_nested_set/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# frozen_string_literal: true

module AwesomeNestedSet
VERSION = '3.7.0' unless defined?(::AwesomeNestedSet::VERSION)
VERSION = '3.8.0' unless defined?(::AwesomeNestedSet::VERSION)
end
Loading