Draft release 23.6.1 #1
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: Draft release | |
run-name: Draft release ${{ inputs.next_version }} | |
on: | |
workflow_dispatch: | |
inputs: | |
next_version: | |
required: true | |
type: string | |
description: 'Version name' | |
permissions: | |
contents: write | |
jobs: | |
draft_release: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: '0' | |
- name: Merge develop | |
run: | | |
git config user.name github-actions | |
git config user.email [email protected] | |
git checkout master | |
git merge origin/develop | |
git push | |
- name: Draft release | |
run: gh release create $VERSION --generate-notes --draft | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
VERSION: ${{ inputs.next_version }} |