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
25 changes: 25 additions & 0 deletions .github/workflows/cut.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Cut

on:
workflow_dispatch:
inputs:
tracking-issue:
description: 'Open a transition tracking issue'
type: boolean
default: false
announce:
description: 'Open the announcement thread in the ecosystem hub Discussions'
type: boolean
default: false

permissions:
contents: read
issues: write

jobs:
cut:
uses: codama-idl/release-tools/.github/workflows/cut.yml@v1
with:
tracking-issue: ${{ inputs.tracking-issue }}
announce: ${{ inputs.announce }}
secrets: inherit
1 change: 1 addition & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@ jobs:
uses: changesets/action@v2.1.1
with:
github-token: ${{ steps.app-token.outputs.token }}
version-script: pnpm release:version
commit-message: '[${{ env.RELEASE_VERSION }}] Publish packages'
pr-title: '[${{ env.RELEASE_VERSION }}] Publish packages'
publish-script: pnpm publish-packages
Expand Down
11 changes: 11 additions & 0 deletions .github/workflows/promote.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
name: Promote

on: workflow_dispatch

permissions:
contents: read

jobs:
promote:
uses: codama-idl/release-tools/.github/workflows/promote.yml@v1
secrets: inherit
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,13 @@
"lint": "oxlint && oxfmt --check",
"lint:fix": "oxlint --fix && oxfmt",
"test": "turbo run test --log-order grouped",
"publish-packages": "pnpm build && changeset publish"
"publish-packages": "pnpm build && changeset publish",
"release:version": "changeset version && release-tools postversion"
},
"devDependencies": {
"@changesets/changelog-github": "^1.0.0",
"@changesets/cli": "^3.0.1",
"@codama/release-tools": "github:codama-idl/release-tools#v1.0.0",
"@solana-config/oxc": "^0.1.1",
"@types/node": "^26",
"agadoo": "^3.0.0",
Expand Down
11 changes: 11 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.