Skip to content

Commit

Permalink
updated release action to create a PR
Browse files Browse the repository at this point in the history
  • Loading branch information
bryce-b committed Oct 28, 2024
1 parent 5e906e7 commit 5177117
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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


0 comments on commit 5177117

Please sign in to comment.