Commit Graph

9 Commits

Author SHA1 Message Date
tctinh
d7bf0c1912 feat: add workflow to republish npm versions via GitHub Actions
This workflow allows unpublishing and republishing npm versions using only
GitHub Actions, without needing direct npm CLI access.

Features:
- Unpublishes existing version from npm
- Deletes existing git tags
- Rebuilds and publishes from current branch
- Creates GitHub release
- Updates @latest tag automatically

Usage: Actions → 'Republish Version' → Run workflow

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2025-12-26 22:05:06 +07:00
tctinh
aafea84296 feat: convert all releases to manual trigger and add dist-tag workflow
- Add new manual workflow to update npm dist-tags (latest, beta, next, canary)
- Convert beta release workflow to manual-only (removed auto push trigger)
- Convert main release workflow to manual-only (removed auto push trigger)

This gives full manual control over when releases are published and which versions
get which npm tags. Prevents accidental releases from automatic triggers.

To use:
- Release: Go to Actions → "Release" or "Release Beta" → Run workflow
- Update tags: Go to Actions → "Update NPM Dist Tag" → Run workflow
2025-12-26 21:56:45 +07:00
tctinh
68968e52af fix: restore version to 1.2.5 and add CI/CD safeguards
- Fix version from 1.2.5-beta.7 back to official 1.2.5
- Add prerelease version check in release workflow to prevent publishing beta versions as official
- Add branch verification in beta workflow to prevent accidental runs on main branch

This prevents the issue where dev branch with beta versions was merged into main,
causing the main branch to have a prerelease version number.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2025-12-26 21:46:32 +07:00
tctinh
1f23cc18c2 ci: auto-increment beta versions on dev branch
- Workflow now auto-detects highest existing beta (from tags + npm)
- Increments to next beta: X.Y.Z-beta.N -> X.Y.Z-beta.(N+1)
- Updates package.json automatically with [skip ci]
- No manual version bumping needed for dev releases
- Bump base version to 1.2.6 for next release cycle
2025-12-26 11:51:12 +07:00
tctinh
b7dc3554fc feat: add GitHub Actions workflow for beta release automation 2025-12-26 02:31:31 +07:00
Noe
9993624d73 Fixed an issue with the NPM package version 2025-12-11 14:09:58 +00:00
Noe
91dcca5730 Updated workflow 2025-12-11 13:49:17 +00:00
Noe
0b83b4e030 better repo config 2025-12-10 15:47:00 +00:00
Noe
8e58a2474c better repo config 2025-12-10 15:18:43 +00:00