Conversation
π Automated release system on PR merge to master: - Semantic versioning based on PR title (feat:/patch/BREAKING CHANGE) - Auto version bump + commit + tag + GitHub release - Automated NPM publishing - Comprehensive release notes with PR details - Support for major/minor/patch version detection
π― Enhanced automated release workflow: - First release (0.0.0) always bumps to 1.0.0 - Subsequent releases follow semantic versioning - Perfect for clean release numbering from start
π‘οΈ Safe + Smart Automated Versioning: β Manual Override: [patch|minor|major] syntax β Exact Prefix Matching: Prevents false positives β Safe Default: Unknown patterns β PATCH β Smart Detection: π΄ MAJOR: BREAKING CHANGE:|breaking:|MAJOR:|NEW VERSION: π‘ MINOR: feat:|feature:|add:|enhance: π’ PATCH: Everything else (safe) Examples: - 'feat: New interface' β v1.1.0 - 'NEW VERSION: Architecture' β v2.0.0 - 'fix: Bug [major]' β v2.0.0 (manual) - 'Random text' β v1.0.1 (safe default)
π Fixed heredoc shell escaping problem: - Direct GitHub expression interpolation in EOF block - Avoids shell variable expansion conflicts with PR body content - Prevents 'command not found' errors from bullet points - Release notes generation now safely handles all PR content
β Resolved merge conflict between dev and master β Kept fixed version (direct GitHub expressions in EOF) β Eliminated shell variable expansion issues β Ready for testing automated release pipeline
Clean up version-specific references in README Remove 'NEW in v1.1.0' annotation from IFlowScope interface
π― Clean slate setup: - Package version: 0.0.0 - First automated release will be v1.0.0 - Testing complete workflow from beginning
π Enhanced condition documentation: - Multi-line condition for better readability - Explicit action check for merge events - Same logic, clearer expression - Prevents any confusion about trigger behavior
π Final automated release test: - Clean state: 0.0.0 package version - Clean registry: No existing NPM versions - Clean tags: No conflicting git tags - Clean workflow: Fixed shell escaping issues This PR will trigger our first successful automated release! π
π§ Package name: @codechu/flow-core-container-v2 - Avoids NPM registry cache conflicts - Clean slate for automated release testing - Same functionality, different name
π§ NPM registry soft-delete cache workaround: - First release will be v1.0.1 instead of v1.0.0 - Avoids 'Cannot publish over previously published' error - NPM needs 24-72 hours to fully clear deleted packages
β Clearer workflow progression: - Build must succeed before release steps - Visual confirmation in logs - Better debugging experience
π Security improvement: - Removed redundant release.yml workflow - NPM publish only via auto-release workflow - Single source of truth for releases - Better security control
Testing regular version bump from 1.0.0 to 1.0.1 NPM registry should accept this version
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Testing v1.0.1 release with manual patch override