Skip to content

Commit 8c6e59e

Browse files
author
Wil T
authored
Update release.yml
1 parent 86069c3 commit 8c6e59e

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ permissions: read-all
1010

1111
env:
1212
EXTENSION: ${{ vars.FORGE_EXTENSION }}
13-
IS_PRERELEASE: ${{ contains(github.ref_name,'-rc') }} && ${{ contains(github.ref_name,'-test') }}
13+
IS_PRERELEASE: ${{ contains(github.ref_name,'-rc') || contains(github.ref_name,'-beta') || contains(github.ref_name,'-test') }}
1414

1515
jobs:
1616
build:
@@ -82,7 +82,7 @@ jobs:
8282

8383
- name: Upload ${{ env.EXTENSION }} file to live channel
8484
id: upload-live
85-
if: ${{ env.IS_PRERELEASE == 'false && false' }}
85+
if: ${{ env.IS_PRERELEASE == 'false' }}
8686
env:
8787
FG_RELEASE_CHANNEL: Live
8888
FG_ITEM_ID: ${{ vars.FORGE_ITEM_ID }}
@@ -97,7 +97,7 @@ jobs:
9797
9898
- name: Upload ${{ env.EXTENSION }} file to test channel
9999
id: upload-test
100-
if: ${{ env.IS_PRERELEASE != 'false && false' }}
100+
if: ${{ env.IS_PRERELEASE == 'true' }}
101101
env:
102102
FG_RELEASE_CHANNEL: Test
103103
FG_ITEM_ID: ${{ vars.FORGE_ITEM_ID }}

0 commit comments

Comments
 (0)