Skip to content

fix(ci): revert 1.0.7 release and fix workflow bugs#570

Merged
JasonXuDeveloper merged 1 commit intomasterfrom
fix/release-workflow-bugs
Jan 25, 2026
Merged

fix(ci): revert 1.0.7 release and fix workflow bugs#570
JasonXuDeveloper merged 1 commit intomasterfrom
fix/release-workflow-bugs

Conversation

@JasonXuDeveloper
Copy link
Copy Markdown
Owner

Summary

Reverts the broken 1.0.7 release and fixes the underlying workflow bugs.

Changes

1. Revert 1.0.7 release

  • Removes incorrect changelog entries (included all commits instead of since last release)
  • Restores README files to v1.0.5 content
  • Reverts package.json versions to 1.0.6/1.0.0

2. Fix base tag detection

Before (broken): Used package.json version as base tag

CURRENT_CORE=$(jq -r '.version' .../package.json)
BASE_TAG="$CURRENT_CORE"  # e.g., "1.0.6" - but this tag didn't exist!

After (fixed): Find latest existing tag dynamically

BASE_TAG=$(git tag -l '[0-9]*.[0-9]*.[0-9]*' | sort -V | tail -n 1)
# Returns "1.0.5" - the actual latest tag

This handles major/minor version bumps correctly (e.g., 1.0.5 → 2.0.0).

3. Fix deprecated action warning

Before: actions/create-release@v1 (uses deprecated set-output)

After: gh release create (modern, no warnings)

Test plan

  • Merge this PR
  • Delete 1.0.7 tag and release
  • Run release workflow with core_version=1.0.8 and util_version=1.0.2
  • Verify changelog only includes commits since 1.0.5
  • Verify no CI warnings about deprecated commands

🤖 Generated with Claude Code

- Revert bot's 1.0.7 release changes (wrong changelog)
- Fix base tag detection to use latest existing tag instead of package.json
- Replace deprecated actions/create-release@v1 with gh CLI
- This fixes the 'set-output deprecated' warnings

Signed-off-by: JasonXuDeveloper - 傑 <jason@xgamedev.net>
@JasonXuDeveloper JasonXuDeveloper enabled auto-merge (squash) January 25, 2026 09:56
@claude
Copy link
Copy Markdown

claude bot commented Jan 25, 2026

Code review

No issues found. Checked for bugs and CLAUDE.md compliance.

@JasonXuDeveloper JasonXuDeveloper merged commit 778e50b into master Jan 25, 2026
11 checks passed
@JasonXuDeveloper JasonXuDeveloper deleted the fix/release-workflow-bugs branch January 25, 2026 09:58
@github-actions
Copy link
Copy Markdown

Unity Test Results

EditMode: All tests passed
PlayMode: All tests passed

Unity Version: 2022.3.55f1
Project Path: UnityProject

✅ All tests passed! The PR is ready for review.

View workflow run

Click here to view the full workflow run

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.

1 participant