Skip to content

Commit

Permalink
fix(#5): introduced manual release drafter (actual release)
Browse files Browse the repository at this point in the history
  • Loading branch information
snovak7 committed May 13, 2024
1 parent b61f52b commit 9ecdc03
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
12 changes: 11 additions & 1 deletion .github/workflows/release-drafter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,15 @@ on:
- opened
- reopened
- synchronize
workflow_dispatch: {}
workflow_dispatch:
inputs:
release-type:
type: choice
default: prerelease
description: Release Type
options:
- release
- prerelease

concurrency:
group: ${{ github.event_name == 'pull_request' && format('pr-{0}', github.event.number) || github.ref }}
Expand All @@ -25,5 +33,7 @@ jobs:
steps:
- name: "Draft Release"
uses: release-drafter/[email protected]
with:
prerelease: ${{ github.event.inputs.release-type == 'prerelease' }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
release:
types:
- published
workflow_dispatch: {}
workflow_dispatch: {}

env:
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: 1
Expand Down

0 comments on commit 9ecdc03

Please sign in to comment.