Revert "Tracking pull request to merge main-release-jan-2024 to master" #8
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |