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
15 changes: 12 additions & 3 deletions .github/RELEASE_GUIDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,13 +47,22 @@
# - intellij-plugin/plugin.xml
# - README.md

# 3. Commit and tag
# 3. Confirm the release is cut from origin/main.
# The tag triggers the release workflow, so a tag that is not on main publishes
# from a commit nobody can see — this is how v0.9.24 and v0.9.36 shipped.
git fetch origin main
git rev-parse main origin/main # must print the same SHA twice

# 4. Commit and tag
git add -A
git commit -m "chore: Release vX.Y.Z"
git tag vX.Y.Z
git push origin main --tags

# 4. Wait for GitHub Actions
# --atomic, never `--tags`: without it a rejected branch update still lets the
# tag through, and CI then publishes from an orphaned commit.
git push --atomic origin main refs/tags/vX.Y.Z

# 5. Wait for GitHub Actions
# Auto-publishes to: pub.dev, npm, VSCode, JetBrains, Homebrew
```

Expand Down
13 changes: 12 additions & 1 deletion CLAUDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,11 +114,22 @@ The script handles everything: version bumps across all files, CHANGELOG entry,
- `README.md` - flutter_skill: ^X.Y.Z

3. **Commit and Tag**

First confirm the release will be cut from `origin/main` — the tag is what
triggers the release workflow, so a tag that is not on `main` publishes from a
commit nobody can see. This is how v0.9.24 and v0.9.36 shipped the wrong tree.

```bash
git fetch origin main
git rev-parse main origin/main # must print the same SHA twice

git add -A
git commit -m "chore: Release vX.Y.Z\n\n<description>"
git tag vX.Y.Z
git push origin main --tags

# --atomic, never `--tags`: without it a rejected branch update still lets
# the tag through, and CI then publishes from an orphaned commit.
git push --atomic origin main refs/tags/vX.Y.Z
```

4. **Verify**
Expand Down
176 changes: 0 additions & 176 deletions scripts/bump_version.dart

This file was deleted.

56 changes: 0 additions & 56 deletions scripts/bump_version.sh

This file was deleted.

18 changes: 0 additions & 18 deletions scripts/publish.sh

This file was deleted.

Loading