diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 074bf670..c42447ff 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -32,13 +32,15 @@ jobs: sed -i -e 's/spec.version = ".*"/spec.version = "${{ inputs.new_version }}"/' OpenTelemetry-Swift-Api.podspec sed -i -e 's/spec.version = ".*"/spec.version = "${{ inputs.new_version }}"/' OpenTelemetry-Swift-Sdk.podspec - - uses: stefanzweifel/git-auto-commit-action@v5 + - name: Create Pull Request + uses: peter-evans/create-pull-request@v7 with: - commit_message: version bump to ${{inputs.new_version}} - tagging_message: 'v${{ inputs.new_version }}' - - uses: ncipollo/release-action@v1 - with: - tag: v${{inputs.new_version}} - prerelease: true - generateReleaseNotes: true + commit-message: 'Release v${{inputs.new_version}}' + title: 'Release v${{inputs.new_version}}' + body: > + This PR is auto-generated by + [create-pull-request](https://github.com/peter-evans/create-pull-request). + labels: release, automated pr + base: main +