Skip to content

Commit

Permalink
chore: added release-it
Browse files Browse the repository at this point in the history
  • Loading branch information
valorkin committed Jul 13, 2023
1 parent 8183971 commit 88901c8
Show file tree
Hide file tree
Showing 4 changed files with 8,482 additions and 5,605 deletions.
22 changes: 12 additions & 10 deletions .github/workflows/on-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,16 +54,18 @@ jobs:
npx ng build --runner=cloud --configuration=production
# update release notes in github
update_release_draft:
needs: install
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- uses: actions/[email protected]
with:
path: node_modules
key: node_modules-${{ hashFiles('**/package-lock.json') }}
- run: npx conventional-github-releaser -p angular
# update_release_draft:
# needs: install
# runs-on: ubuntu-latest
# steps:
# - uses: actions/[email protected]
# - uses: actions/[email protected]
# with:
# path: node_modules
# key: node_modules-${{ hashFiles('**/package-lock.json') }}
# - run: npm run release
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

# update gh_pages
gh_pages_deploy:
Expand Down
11 changes: 11 additions & 0 deletions .release-it.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"github": {
"release": true
},
"plugins": {
"@release-it/conventional-changelog": {
"preset": "angular",
"infile": "CHANGELOG.md"
}
}
}
Loading

0 comments on commit 88901c8

Please sign in to comment.