Skip to content

Tracking pull request to merge release-2.18.0 to master #13

Tracking pull request to merge release-2.18.0 to master

Tracking pull request to merge release-2.18.0 to master #13

Workflow file for this run

name: Create Release after merging to master
on:
pull_request:
types: [closed]
branches:
- 'master'
jobs:
create-release:
runs-on: ubuntu-latest
env:
releasename: ${{ github.event.pull_request.head.ref }}
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
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