3.0.0 • Published 2 years ago
sr-lib-example v3.0.0
Semantic Releaes Example Repo
Created project via $ npx tsdx create <module-name>
Setup Semantic Release
Steps:
npx semantic-release-cli setup
- this asked for npm and gh creds
- added
NPM_TOKEN
to repo secrets
- install changelog plugin
npm i @semantic-release/changelog -D
- add
release.config.json
file
{
"branches": [
"+([0-9])?(.{+([0-9]),x}).x",
"master",
"next",
"next-major",
{ "name": "beta", "prerelease": true },
{ "name": "alpha", "prerelease": true }
],
"repositoryUrl": "https://github.com/dbouwman/sr-example-lib",
"tagFormat": "v${version}",
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
"@semantic-release/changelog",
"@semantic-release/npm",
"@semantic-release/git"
]
}
- manually added
.github/workflows/release.yml
3.1.0-beta.1
2 years ago
3.0.0
2 years ago
2.0.0-beta.2
2 years ago
2.1.0
2 years ago
2.0.0
2 years ago
2.0.0-beta.1
2 years ago
1.1.0
2 years ago
1.1.0-beta.3
2 years ago
1.1.0-beta.2
2 years ago
1.1.0-beta.1
2 years ago
1.0.0
2 years ago