Skip to content
This repository was archived by the owner on Nov 26, 2025. It is now read-only.

fix: remove version commit step from release workflow (#809)#810

Merged
magicink merged 1 commit into
mainfrom
release-candidate
Oct 2, 2025
Merged

fix: remove version commit step from release workflow (#809)#810
magicink merged 1 commit into
mainfrom
release-candidate

Conversation

@magicink

@magicink magicink commented Oct 2, 2025

Copy link
Copy Markdown
Owner

No description provided.

@magicink magicink merged commit 48fde58 into main Oct 2, 2025
1 check passed

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting

Comment on lines 41 to 46
- name: Install dependencies
if: ${{ steps.release.outputs.release_created }}
run: bun install
- name: Sync package versions
if: ${{ steps.release.outputs.release_created }}
run: bun run sync-version
- name: Commit synced versions
if: ${{ steps.release.outputs.release_created }}
env:
GH_TOKEN: ${{ github.token }}
run: |
if [[ -n "$(git status --porcelain)" ]]; then
git config user.name "github-actions[bot]"
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
git add projects/campfire-vscode-extension/package.json apps/campfire/package.json
git commit -m "chore: sync release versions"
git push
else
echo "No version changes detected"
fi
- name: Build Format
if: ${{ steps.release.outputs.release_created }}
run: bun run build

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Keep package version sync in release workflow

The release job no longer runs sync-version or commits its results before bun run build. Only the root package.json is touched by release‑please; apps/campfire/package.json and projects/campfire-vscode-extension/package.json are not. After this change, every release will tag the new root version while those subpackages remain at the previous version in main, and future builds will dirty the working tree when bun run build updates them locally. That leaves the repository in a permanently inconsistent state and breaks bun run check-version until someone manually commits the synced files. Consider retaining a step that syncs and pushes subpackage version bumps, or teach release‑please to update those files in the PR.

Useful? React with 👍 / 👎.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant