Skip to content

Commit 276a472

Browse files
Merge pull request #490 from collectiveidea/trusted-publishing
Trusted Publishing
2 parents 8ad6f3c + 40eb61d commit 276a472

File tree

3 files changed

+33
-1
lines changed

3 files changed

+33
-1
lines changed

.github/workflows/publish_gem.yml

+28
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Publish Gem
2+
3+
on:
4+
push:
5+
tags:
6+
- v*
7+
8+
jobs:
9+
push:
10+
if: github.repository == 'collectiveidea/awesome_nested_set'
11+
runs-on: ubuntu-latest
12+
environment: publishing
13+
14+
permissions:
15+
contents: write
16+
id-token: write
17+
18+
steps:
19+
# Set up
20+
- uses: actions/checkout@v4
21+
- name: Set up Ruby
22+
uses: ruby/setup-ruby@v1
23+
with:
24+
bundler-cache: true
25+
ruby-version: ruby
26+
27+
# Release
28+
- uses: rubygems/release-gem@v1

CHANGELOG

+4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
Unreleased version
22

3+
3.8.0
4+
* Support Rails 8.0 [Takuya N](https://github.com/collectiveidea/awesome_nested_set/pull/487)
5+
* Enable Rubygems Trusted Publishing
6+
37
3.7.0
48
* Teach #move_to_child_of and #move_to_child_with_index to accept :root as a parameter [Micah Geisel](https://github.com/botandrose)
59
* Add #roots method [Micah Geisel](https://github.com/botandrose)

lib/awesome_nested_set/version.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# frozen_string_literal: true
22

33
module AwesomeNestedSet
4-
VERSION = '3.7.0' unless defined?(::AwesomeNestedSet::VERSION)
4+
VERSION = '3.8.0' unless defined?(::AwesomeNestedSet::VERSION)
55
end

0 commit comments

Comments
 (0)