Skip to content

Tracking pull request to merge release-1.61.0 to master #18

Tracking pull request to merge release-1.61.0 to master

Tracking pull request to merge release-1.61.0 to master #18

name: Create Release after merging to master
on:
pull_request:
types: [closed]
branches:
- 'master'
jobs:
create-release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Replace release name
uses: mad9000/actions-find-and-replace-string@4
id: newereleasename
with:
source: ${{ github.event.pull_request.head.ref }}
find: 'release-'
replace: 'v'
- name: Create Release
uses: softprops/action-gh-release@v1.1.0
with:
name: ${{ steps.newereleasename.outputs.value }}
tag_name: ${{ steps.newereleasename.outputs.value }}
target_commitish: master
body: |
${{ github.event.pull_request.body }}
token: ${{ secrets.GITHUB_TOKEN }}
draft: false
prerelease: false