Skip to content

Commit

Permalink
Merge pull request #58 from MakingSense/auto-bump-version
Browse files Browse the repository at this point in the history
Bump version when merge PR to master
  • Loading branch information
RodrigoPereyraDiaz authored Jun 6, 2022
2 parents aaf6b18 + 0412788 commit 40bee98
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/bump-version.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Bump version
on:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
if: ${{ github.actor != 'dependabot[bot]' }}
steps:
- uses: actions/checkout@v3
- name: Bump version and push tag
id: tag_version
uses: mathieudutour/[email protected]
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
- name: Create a GitHub release
uses: ncipollo/release-action@v1
with:
tag: ${{ steps.tag_version.outputs.new_tag }}
name: Release ${{ steps.tag_version.outputs.new_tag }}
generateReleaseNotes: true

0 comments on commit 40bee98

Please sign in to comment.