diff --git a/.github/workflows/bump-version.yml b/.github/workflows/bump-version.yml
index 3254e59..7dfe2c5 100644
--- a/.github/workflows/bump-version.yml
+++ b/.github/workflows/bump-version.yml
@@ -10,36 +10,4 @@ permissions:
jobs:
bump-version:
- if: startsWith(github.event.issue.title, 'Bump version to')
- runs-on: ubuntu-latest
- steps:
- - name: Checkout
- uses: actions/checkout@v4
- with:
- fetch-depth: 0
-
- - name: Tag parsing
- id: ver
- shell: bash
- run: |
- title="${{ github.event.issue.title }}"
- version="${title#Bump version to }"
- version="${version#v}"
- version="$(echo "$version" | xargs)"
- echo "version=$version" >> "$GITHUB_OUTPUT"
-
- - name: Patch Directory.Build.props
- run: |
- path="Directory.Build.props"
- sed -i -E "s#[^<]+#${{ steps.ver.outputs.version }}#g" "$path"
-
- - name: Create PR
- uses: peter-evans/create-pull-request@v7
- with:
- base: master
- title: Bump version to ${{ steps.ver.outputs.version }}
- commit-message: |
- Bump version to ${{ steps.ver.outputs.version }}
- branch: bump-version-to-${{ steps.ver.outputs.version }}
- body: |
- Closes #${{ github.event.issue.number }}
+ uses: The-Poolz/.net-workflows/.github/workflows/bump-version.yml@v1.0.3