Skip to content

Commit

Permalink
Merge pull request #1 from c0untingNumbers/test
Browse files Browse the repository at this point in the history
test
  • Loading branch information
c0untingNumbers authored Jul 13, 2024
2 parents 3f7ebce + e9c8fcc commit dce4d2a
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/semanticversion.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Bump version
on:
pull_request:
types:
- closed
branches:
- master

jobs:
build:
if: github.event.pull_request.merged == true
runs-on: ubuntu-22.04
permissions:
contents: write
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.merge_commit_sha }}
fetch-depth: '0'

- name: Bump version and push tag
id: tag_version
uses: anothrNick/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
WITH_V: true
PRERELEASE: false

- name: Create GitHub Release
uses: softprops/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ steps.tag_version.outputs.new_tag }}
generate_release_notes: true
prerelease: false

0 comments on commit dce4d2a

Please sign in to comment.