mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2024-12-23 14:32:59 -05:00
Adjust condition for release stage
This commit is contained in:
parent
30ee756fc7
commit
c73c4cc5af
1 changed files with 2 additions and 2 deletions
|
@ -28,7 +28,7 @@ jobs:
|
|||
node_js: 8
|
||||
- env: NPM_SCRIPT=build
|
||||
node_js: 8
|
||||
if: not (branch in (master, develop) and type != pull_request)
|
||||
if: not (type != pull_request AND (branch =~ /^(develop|master|hotfix\/)/))
|
||||
- stage: release
|
||||
node_js: 8
|
||||
env: NPM_SCRIPT=build
|
||||
|
@ -81,4 +81,4 @@ jobs:
|
|||
stages:
|
||||
- test
|
||||
- name: release
|
||||
if: branch in (master, develop) and type != pull_request
|
||||
if: type != pull_request AND (branch =~ /^(develop|master|hotfix\/)/)
|
||||
|
|
Loading…
Reference in a new issue