Skip to content

Release workflow: attach the files before publishing; test build is 0.9.0-dev2 - #10

Merged
caparomula merged 1 commit into
mainfrom
claude/magical-franklin-d6gsu5
Oct 1, 2026
Merged

caparomula merged 1 commit into
mainfrom
claude/magical-franklin-d6gsu5

Conversation

@caparomula

Copy link
Copy Markdown
Collaborator

Summary

The repository's releases are immutable: nothing can be attached once a release is published. The release action uploads assets before publishing for a normal release but publishes a pre-release first, so v0.9.0-dev was published with the notes and no files.

  • The release is now created as a draft, the JAR and the .vsix are attached, and a final step publishes it with gh release edit --draft=false.
  • A deleted immutable release's tag name cannot be used again, so the test build becomes 0.9.0-dev2 in build.gradle and, via syncExtensionVersion, the extension's package.json and lock file.
  • The Releasing section of doc/DEVELOPMENT.md explains the immutability rules; the changelog records the fix.

Verification

  • ExtensionVersionTest and SourceVersionReferencesTest pass at the new version.
  • The extension packages with vsce at 0.9.0-dev2.
  • The workflow YAML parses; the publish step uses the runner's preinstalled gh with the workflow token, which already has contents: write.

🤖 Generated with Claude Code

https://claude.ai/code/session_015wo6ufDtEY27NQ8ctU5ns5


Generated by Claude Code

….9.0-dev2

The repository's releases are immutable: nothing can be attached once a
release is published. The release action uploads before publishing for
a normal release but publishes a pre-release first, so v0.9.0-dev was
published with no files. The release is now created as a draft, the JAR
and the .vsix are attached, and a final step publishes it.

A deleted immutable release's tag name cannot be used again, so the
test build becomes 0.9.0-dev2 (build.gradle and the extension's files,
via syncExtensionVersion). doc/DEVELOPMENT.md's Releasing section says
so, and the changelog records the fix.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_015wo6ufDtEY27NQ8ctU5ns5
@caparomula
caparomula merged commit 7a464de into main Oct 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants