Skip to content

Make a New Release

Make a New Release #49

Workflow file for this run

name: Make a New Release
on:
workflow_dispatch:
jobs:
create-release:
name: Create GitHub Release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
with:
ref: ${{ github.ref }}
- name: Get the tag
run: |
echo "RELEASE_TAG=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
echo "REPO_NAME=${GITHUB_REPOSITORY#*/}" >> $GITHUB_ENV
- uses: ncipollo/release-action@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
allowUpdates: true
draft: true
name: "${{ format('{0} {1}', env.REPO_NAME, env.RELEASE_TAG) }}"