The open source coding agent.
TypeScript
ci: add optional version parameter to publish workflow
Dax Raad58bbe9e689d4
diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.ymlindex df1a36f775b..a339c7dabfc 100644--- a/.github/workflows/publish.yml+++ b/.github/workflows/publish.yml@@ -12,6 +12,10 @@ on:- major- minor- patch+ version:+ description: "Override version (optional)"+ required: false+ type: stringconcurrency: ${{ github.workflow }}-${{ github.ref }}@@ -62,6 +66,7 @@ jobs:./script/publish.tsenv:OPENCODE_BUMP: ${{ inputs.bump }}+ OPENCODE_VERSION: ${{ inputs.version }}OPENCODE_CHANNEL: latestNPM_CONFIG_TOKEN: ${{ secrets.NPM_TOKEN }}GITHUB_TOKEN: ${{ secrets.SST_GITHUB_TOKEN }}