Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit dc91244

Browse files
committed
CODER_RELEASE: true requires tag, not possible in dry-run
1 parent fbae8b3 commit dc91244

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/release.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ env:
4545
# Use `inputs` (vs `github.event.inputs`) to ensure that booleans are actual
4646
# booleans, not strings.
4747
# https://github.blog/changelog/2022-06-10-github-actions-inputs-unified-across-manual-and-reusable-workflows/
48-
CODER_RELEASE: ${{ !inputs.snapshot }}
48+
CODER_RELEASE: ${{ !inputs.dry_run && !inputs.snapshot }}
4949
CODER_RELEASE_INCREMENT: ${{ inputs.increment }}
5050
CODER_RELEASE_DRAFT: ${{ inputs.draft }}
5151
CODER_DRY_RUN: ${{ inputs.dry_run || inputs.snapshot }}

0 commit comments

Comments
 (0)