summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorDan Allen <dan.j.allen@gmail.com>2022-05-30 23:50:48 -0600
committerDan Allen <dan.j.allen@gmail.com>2022-05-31 00:26:07 -0600
commit4a4f3c8951db7bb1a95f5368328d30b053616495 (patch)
tree4f5b316b78cf805e6520b32551817e6230cfba05 /.github
parent760c4343ca73ffd170aa9a02bd8303385861ed4c (diff)
automate the creation of the GitHub release [no ci]
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/release.yml5
1 files changed, 5 insertions, 0 deletions
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 27466aa0..eff086dc 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -5,6 +5,10 @@ on:
release-version:
description: Enter version to release (e.g., 2.0.1).
required: false
+ release-beer:
+ default: TBD
+ description: Enter beer to mark the occasion.
+ required: false
jobs:
activate:
runs-on: ubuntu-latest
@@ -45,6 +49,7 @@ jobs:
- name: Setup release environment
run: |
echo RELEASE_VERSION=${{ github.event.inputs.release-version }} >> $GITHUB_ENV
+ echo RELEASE_BEER=${{ github.event.inputs.release-beer }} >> $GITHUB_ENV
echo RELEASE_RUBYGEMS_API_KEY=${{ secrets[format('RUBYGEMS_API_KEY_{0}', github.actor)] }} >> $GITHUB_ENV
- name: Build, tag, and publish gem
run: ./release.sh