Skip to content

Commit

Permalink
Add automatic path bump
Browse files Browse the repository at this point in the history
  • Loading branch information
santam85 committed Jul 8, 2022
1 parent 5522f90 commit 56057f2
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -141,3 +141,24 @@ jobs:
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
branch: 'gh-pages'

version-bump:
needs: publish-docs
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Bump version
working-directory: ./projects/ng2-charts
run: npm version patch
- run: |
git config --local user.email ${GITHUB_ACTOR}@users.noreply.github.com
git config --local user.name $GITHUB_ACTOR
git add -A
git commit -m "ci: bump to next dev version"
continue-on-error: true
- name: push
uses: ad-m/[email protected]
continue-on-error: true
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
branch: ${{ github.ref }}

0 comments on commit 56057f2

Please sign in to comment.