Skip to content

Commit

Permalink
chore: add tag creation in prepare-release script (#697)
Browse files Browse the repository at this point in the history
<!---
☝️ PR title should follow conventional commits
(https://conventionalcommits.org)
-->

### 🔗 Linked issue

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

### ❓ Type of change

<!-- What types of changes does your code introduce? Put an `x` in all
the boxes that apply. -->

- [ ] 📖 Documentation (updates to the documentation or readme)
- [ ] 🐞 Bug fix (a non-breaking change that fixes an issue)
- [ ] 👌 Enhancement (improving an existing functionality)
- [ ] ✨ New feature (a non-breaking change that adds functionality)
- [ ] 🧹 Chore (updates to the build process or auxiliary tools and
libraries)
- [ ] ⚠️ Breaking change (fix or feature that would cause existing
functionality to change)

### 📚 Description

Add tag creation in prepare-release script
  • Loading branch information
tobiasdiez authored Jul 11, 2024
1 parent 003772c commit 03b7763
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions prepare-release.ts
Original file line number Diff line number Diff line change
Expand Up @@ -251,6 +251,8 @@ async function main() {
execSync('pnpm lint:prettier --write')

execSync(`git commit -am "chore(release): bump version to ${newVersion}"`)

execSync(`git tag -a v${newVersion} -m "v${newVersion}"`)
}

main().catch((err) => {
Expand Down

0 comments on commit 03b7763

Please sign in to comment.