Skip to content

Update release automation and versioning for 1.1.1#24

Open
Foscat wants to merge 10 commits into
mainfrom
v1.1.1
Open

Update release automation and versioning for 1.1.1#24
Foscat wants to merge 10 commits into
mainfrom
v1.1.1

Conversation

@Foscat

@Foscat Foscat commented Jun 1, 2026

Copy link
Copy Markdown
Owner

Summary

This pull request addresses a minor but important fix to the sync workflow for package versioning. The main change ensures that the workflow's git push command explicitly targets branch references, preventing ambiguity and potential conflicts with tag refs. This update is also documented in the CHANGELOG.md.

Sync workflow reliability improvements:

  • Updated the git push command in .github/workflows/sync-package-version-with-main.yml to specify refs/heads/ for the branch, ensuring pushes go to the correct branch and not tags.

Documentation:

  • Added a changelog entry describing the sync workflow fix for improved clarity and traceability.

Type of Change

  • Fix
  • Feature
  • Refactor
  • Docs
  • Chore

Validation

  • npm run lint:css
  • Visual sanity check in index.html demo

Checklist

  • Public API changes documented (README/wiki)
  • No unrelated file churn
  • Code of Conduct respected

Foscat and others added 7 commits June 1, 2026 02:18
- Changed release trigger from 'created' to 'published' in npm publish workflow.
- Added validation step to ensure release tag aligns with package version.
- Updated package and changelog metadata to reflect version 1.1.1.
- Aligned package-lock.json with package.json version.
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
@Foscat Foscat self-assigned this Jun 1, 2026
Copilot AI review requested due to automatic review settings June 1, 2026 17:32

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This pull request aims to improve release/version automation reliability by making the sync workflow’s push target unambiguous (branch refs), and documenting the change in the changelog.

Changes:

  • Updated the sync workflow git push refspec to explicitly push to refs/heads/... to avoid branch/tag ref ambiguity.
  • Added an [Unreleased] changelog entry describing the sync workflow fix.
  • Updated package-lock.json root metadata version fields.

Reviewed changes

Copilot reviewed 2 out of 3 changed files in this pull request and generated 3 comments.

File Description
package-lock.json Adjusts lockfile version metadata values (currently to 1.0.4).
CHANGELOG.md Adds an [Unreleased] “Fixed” entry describing the workflow push change.
.github/workflows/sync-package-version-with-main.yml Disambiguates push destination by targeting refs/heads/<branch>.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread CHANGELOG.md
Comment on lines +8 to +10
### Fixed - Sync workflow push ambiguity

- Fixed `git push` in `.github/workflows/sync-package-version-with-main.yml` to explicitly target branch refs, preventing potential conflicts with tag refs.
Comment thread CHANGELOG.md
Comment on lines +8 to +10
### Fixed - Sync workflow push ambiguity

- Fixed `git push` in `.github/workflows/sync-package-version-with-main.yml` to explicitly target branch refs, preventing potential conflicts with tag refs.
git add package.json
git commit -m "chore: sync package.json version with main"
git push origin "HEAD:${GITHUB_HEAD_REF:-${GITHUB_REF_NAME}}"
git push origin "HEAD:refs/heads/${GITHUB_HEAD_REF:-${GITHUB_REF_NAME}}"
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.

3 participants