Skip to content

Commit 520205c

Browse files
committed
run workflows/release.yml in release environment
1 parent ad22407 commit 520205c

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/release.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,17 @@
11
name: Release new version
22
on:
33
push:
4-
branches: [ main ]
4+
branches: [main]
55
paths:
6-
- 'lib/mcp/version.rb'
6+
- "lib/mcp/version.rb"
77
jobs:
88
publish_gem:
99
if: github.repository_owner == 'modelcontextprotocol'
1010
name: Release Gem Version to RubyGems.org
1111
runs-on: ubuntu-latest
12+
13+
environment: release
14+
1215
permissions:
1316
id-token: write # IMPORTANT: this permission is mandatory for trusted publishing
1417
contents: write # IMPORTANT: this permission is required for `rake release` to push the release tag

0 commit comments

Comments
 (0)