Commit e8db2abd authored by nanahira's avatar nanahira

use master for release

parent 85d23ed2
Pipeline #5634 passed with stage
in 2 minutes and 21 seconds
...@@ -61,7 +61,7 @@ upload_archive: ...@@ -61,7 +61,7 @@ upload_archive:
uploadDir: archive uploadDir: archive
only: only:
- master - master
- tags #- tags
upload_data: upload_data:
extends: .minio extends: .minio
...@@ -79,8 +79,9 @@ deploy: ...@@ -79,8 +79,9 @@ deploy:
variables: variables:
username: $MYCARD_USERNAME username: $MYCARD_USERNAME
password: $MYCARD_PASSWORD password: $MYCARD_PASSWORD
appVersion: $CI_COMMIT_TAG #appVersion: $CI_COMMIT_TAG
script: script:
- export appVersion="v$(git rev-list --count HEAD)"
- apt update; apt -y install tar zstd curl jq - apt update; apt -y install tar zstd curl jq
- git clone https://code.mycard.moe/mycard/mycard-package-script - git clone https://code.mycard.moe/mycard/mycard-package-script
- cd mycard-package-script - cd mycard-package-script
...@@ -88,7 +89,7 @@ deploy: ...@@ -88,7 +89,7 @@ deploy:
- ./index.sh makeBuild ygopro2-rush-duel ../data/ygopro2 || true - ./index.sh makeBuild ygopro2-rush-duel ../data/ygopro2 || true
- cd .. - cd ..
only: only:
- tags - master
.deploy_to_server: .deploy_to_server:
stage: deploy stage: deploy
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment