diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index 4e84b8baa..696ac8f6a 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -7,6 +7,7 @@ on: - "src/**" - "tools/installer/**" - "package.json" + - "removals.txt" workflow_dispatch: inputs: channel: @@ -137,6 +138,10 @@ jobs: - name: Advance @next dist-tag to stable if: github.event_name == 'workflow_dispatch' && inputs.channel == 'latest' + # Failure here leaves @next stale until the next push-driven prerelease + # republishes — annoying but not release-breaking. Don't fail the job + # after a successful stable publish + tag + GH release. + continue-on-error: true run: | # Without this, @latest can leapfrog @next (e.g. latest=6.5.0 while # next=6.4.1-next.0) and `npx bmad-method@next install` silently @@ -145,6 +150,7 @@ jobs: # bump from this base via the existing derive step above. VERSION=$(node -p 'require("./package.json").version') npm dist-tag add "bmad-method@${VERSION}" next + echo "Advanced @next dist-tag to ${VERSION}" - name: Notify Discord if: github.event_name == 'workflow_dispatch' && inputs.channel == 'latest'