add additional conditionals for platform specific builds

nr0q 2023-10-21 16:57:05 -05:00
rodzic a2440ade32
commit 1e96a37239
1 zmienionych plików z 6 dodań i 6 usunięć

Wyświetl plik

@ -59,7 +59,7 @@ win:package:
stage: package
rules:
# only do this with a manual tag starting with v or test_
- if: '$CI_COMMIT_TAG =~ /^(v|test_).*/'
- if: '$CI_COMMIT_TAG =~ /^(v|test_|win_).*/'
artifacts:
paths:
- artifacts/
@ -121,7 +121,7 @@ linux:package:
stage: package
rules:
# only do this with a manual tag starting with v or test_
- if: '$CI_COMMIT_TAG =~ /^(v|test_).*/'
- if: '$CI_COMMIT_TAG =~ /^(v|test_|lin_).*/'
artifacts:
paths:
- artifacts/
@ -170,7 +170,7 @@ mac:package:
stage: package
rules:
# only do this with a manual tag starting with v or test_
- if: '$CI_COMMIT_TAG =~ /^(v|test_).*/'
- if: '$CI_COMMIT_TAG =~ /^(v|test_|mac_).*/'
artifacts:
paths:
- artifacts/
@ -210,7 +210,7 @@ arm:package:
NWJS64_BUILD: "nw54-arm64_2021-07-10"
rules:
# only do this with a manual tag starting with v or test_
- if: '$CI_COMMIT_TAG =~ /^(v|test_).*/'
- if: '$CI_COMMIT_TAG =~ /^(v|test_|lin_).*/'
artifacts:
paths:
- artifacts/
@ -275,7 +275,7 @@ upload-Google:
variables:
GIT_STRATEGY: none
rules:
- if: '$CI_COMMIT_TAG =~ /^(v|test_).*/'
- if: '$CI_COMMIT_TAG =~ /^(v|test_|win_|mac_|lin_).*/'
script:
- |
echo $GCP_SERVICE_KEY > gcloud-service-key.json
@ -375,7 +375,7 @@ sourcerelease:
virustotal_push:
stage: publish
rules:
- if: '$CI_COMMIT_TAG =~ /^(v|test_).*/'
- if: '$CI_COMMIT_TAG =~ /^(v|test_|win_).*/'
script:
- |
echo "Pushing release URLs to VirusTotal"