Skip to content

Commit 6fc960c

Browse files
authored
ci: fix release.yml
[skip ci]
1 parent f712e73 commit 6fc960c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ on:
3030
description: 'Dry run? If yes, this workflow will NOT push to remote and NOT publish the extension.'
3131
required: true
3232
type: choice
33-
default: 'no'
33+
default: 'yes'
3434
options:
3535
- 'yes'
3636
- 'no'
@@ -65,7 +65,7 @@ jobs:
6565
result-encoding: string
6666
script: |
6767
const releaseType = process.env.RELEASE_TYPE;
68-
const isPreRelease = title.startsWith('pre')
68+
const isPreRelease = releaseType.startsWith('pre')
6969
const version = isPreRelease ? String(Math.floor(Date.now() / 1000)) : '';
7070
if (isPreRelease) {
7171
core.info(`Pre-release patch version number: ${version}`)

0 commit comments

Comments
 (0)