Skip to content

Commit

Permalink
chore: change to use standard-version
Browse files Browse the repository at this point in the history
  • Loading branch information
drodil committed Aug 6, 2024
1 parent e6ca879 commit 4e362a0
Show file tree
Hide file tree
Showing 4 changed files with 1,819 additions and 682 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/cd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@ jobs:
- run: npm ci
- run: npm run lint
- run: npm run build
- uses: yashanand1910/standard-release-notes@v1.2.1
id: get_release_notes
with:
changelog_path: ./CHANGELOG.md
version: ${{ steps.previoustag.outputs.tag }}
- name: Create Github Release
uses: actions/create-release@v1
id: create_release
Expand All @@ -27,6 +32,7 @@ jobs:
prerelease: false
release_name: ${{ steps.previoustag.outputs.tag }}
tag_name: ${{ steps.previoustag.outputs.tag }}
body: ${{ steps.get_release_notes.outputs.release_notes }}
env:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
- name: Upload Chrome Extension
Expand Down
51 changes: 51 additions & 0 deletions .versionrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
{
"commitUrlFormat": "https://github.com/drodil/youtube_auto_pause/commit/{{hash}}",
"compareUrlFormat": "https://github.com/drodil/youtube_auto_pause/compare/{{previousTag}}...{{currentTag}}",
"releaseCommitMessageFormat": "chore(release): :bookmark: {{currentTag}}",
"issueUrlFormat": "https://github.com/drodil/youtube_auto_pause/issues/{{id}}",
"userUrlFormat": "https://github.com/{{user}}",
"bumpFiles": [
{
"filename": "package.json",
"type": "json"
},
{
"filename": "package-lock.json",
"type": "json"
},
{
"filename": "chrome/manifest.json",
"type": "json"
},
{
"filename": "firefox/manifest.json",
"type": "json"
}
],
"types": [
{
"type": "feat",
"section": "Features"
},
{
"type": "fix",
"section": "Bug Fixes"
},
{
"type": "chore",
"section": "Maintenance"
},
{
"type": "refactor",
"section": "Maintenance"
},
{
"type": "ci",
"section": "Maintenance"
},
{
"type": "docs",
"section": "Documentation"
}
]
}
Loading

0 comments on commit 4e362a0

Please sign in to comment.