mirror of
https://github.com/scratchfoundation/scratch-paint.git
synced 2025-03-13 22:50:01 -04:00
Adjust condition for release stage
This commit is contained in:
parent
969e87eff0
commit
3662209ffa
1 changed files with 2 additions and 2 deletions
|
@ -19,7 +19,7 @@ jobs:
|
|||
include:
|
||||
- env: NPM_SCRIPT=lint
|
||||
- env: NPM_SCRIPT=build
|
||||
if: not (branch in (master, develop) and type != pull_request)
|
||||
if: not (type != pull_request AND (branch =~ /^(develop|master|hotfix\/)/))
|
||||
- stage: release
|
||||
env: NPM_SCRIPT=build
|
||||
before_deploy:
|
||||
|
@ -77,4 +77,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