Skip to content

Commit

Permalink
chore: increase version before publishing nightly (#745)
Browse files Browse the repository at this point in the history
<!--
☝️ PR title should follow conventional commits
(https://conventionalcommits.org).
In particular, the title should start with one of the following types:

- docs: 📖 Documentation (updates to the documentation or readme)
- fix: 🐞 Bug fix (a non-breaking change that fixes an issue)
- feat: ✨ New feature/enhancement (a non-breaking change that adds
functionality or improves existing one)
- feat!/fix!: ⚠️ Breaking change (fix or feature that would cause
existing functionality to change)
- chore: 🧹 Chore (updates to the build process or auxiliary tools and
libraries)
-->

### 🔗 Linked issue

<!-- If it resolves an open issue, please link the issue here. For
example "Resolves #123" -->

### 📚 Description

To fix the release of the nightly version.
<!-- Describe your changes in detail -->
<!-- Why is this change required? What problem does it solve? -->
  • Loading branch information
tobiasdiez authored Aug 11, 2024
1 parent 0a78a27 commit 470514d
Show file tree
Hide file tree
Showing 4 changed files with 607 additions and 112 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,6 @@ jobs:
matrix.os == 'ubuntu-latest' &&
!contains(github.event.head_commit.message, '[skip-release]') &&
!startsWith(github.event.head_commit.message, 'docs')
run: pnpm publish --recursive --tag nightly --provenance --access public --report-summary --no-git-checks --force
run: pnpm prerelease
env:
NODE_AUTH_TOKEN: ${{ secrets.NPMJS_TOKEN }}
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
"lint:prettier": "prettier --check .",
"lint:fix": "pnpm lint:eslint --fix && pnpm lint:prettier --write",
"release": "pnpm jiti prepare-release.ts && pnpm publish --recursive && git push --follow-tags",
"prerelease": "pnpm jiti prepare-release.ts --nightly && pnpm publish --recursive --tag nightly --access public --no-git-checks --provenance --report-summary",
"prepare": "pnpm run --filter=./playground/** prepare",
"docs:dev": "pnpm run --filter=./docs/** dev",
"docs:build": "pnpm run --filter=./docs/** build",
Expand All @@ -55,6 +56,7 @@
"nuxt": "3.12.4",
"prettier": "3.3.3",
"release-it": "17.6.0",
"semver": "^7.6.3",
"typescript": "5.5.4",
"vitest": "2.0.5"
},
Expand Down
Loading

0 comments on commit 470514d

Please sign in to comment.