Draft release workflow

This commit is contained in:
Alex Rodionov 2024-04-12 12:15:08 -05:00
parent c776e115ed
commit 7d9487bea5
3 changed files with 32 additions and 1 deletions

26
.github/workflows/release.yml vendored Normal file
View file

@ -0,0 +1,26 @@
name: Release
on:
workflow_dispatch:
inputs:
tag:
description: Tag to release
required: true
default: 0.0.0
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
cache: npm
node-version-file: package.json
- run: npm build
- run: |
git commit -am "Release ${{ inputs.tag }}"
git push
gh release create ${{ inputs.tag }} --generate-notes