Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions .github/workflows/auto-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,9 @@ jobs:
run: npm test

- name: 🏗️ Build package
run: npm run build
run: |
npm run build
echo "✅ Build successful - proceeding with release"

- name: 🔍 Safe version detection with manual override
id: version
Expand Down Expand Up @@ -80,10 +82,10 @@ jobs:
run: |
CURRENT_VERSION=$(node -p "require('./package.json').version")

# 🎉 FIRST RELEASE LOGIC: If 0.0.0, always go to 1.0.0
# 🎉 FIRST RELEASE LOGIC: If 0.0.0, always go to 1.0.1 (skip 1.0.0 due to NPM cache)
if [ "$CURRENT_VERSION" = "0.0.0" ]; then
NEW_VERSION=$(npm version 1.0.0 --no-git-tag-version)
echo "🎉 FIRST RELEASE: Bumping directly to v1.0.0"
NEW_VERSION=$(npm version 1.0.1 --no-git-tag-version)
echo "🎉 FIRST RELEASE: Bumping directly to v1.0.1 (skipping 1.0.0)"
else
NEW_VERSION=$(npm version ${{ steps.version.outputs.bump }} --no-git-tag-version)
echo "📈 Regular version bump: ${{ steps.version.outputs.bump }}"
Expand Down
52 changes: 0 additions & 52 deletions .github/workflows/release.yml

This file was deleted.

1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -290,3 +290,4 @@ Works with any DI container library:
## 📄 License

MIT © Codechu# 🎯 Ready for automated v1.0.0 release!