From 8c3145b0bd8a11db8960b937ad0e09d44f585193 Mon Sep 17 00:00:00 2001 From: Stanislav Vysotskyi <66203238+ArdenHide@users.noreply.github.com> Date: Wed, 24 Sep 2025 16:10:29 +0300 Subject: [PATCH] Replace custom bump version workflow with external one --- .github/workflows/bump-version.yml | 34 +----------------------------- 1 file changed, 1 insertion(+), 33 deletions(-) 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