mirror of
https://github.com/netbootxyz/netboot.xyz.git
synced 2026-01-23 02:34:26 +00:00
live build debugging need to do the tagging in the script section if you have multiple deploys
This commit is contained in:
parent
d6e7be819e
commit
af1c825633
3 changed files with 6 additions and 8 deletions
10
.travis.yml
10
.travis.yml
|
|
@ -43,11 +43,10 @@ jobs:
|
|||
- ./script/pre_install
|
||||
script:
|
||||
- ./script/build_release rc
|
||||
after_failure:
|
||||
- ./script/message failure
|
||||
before_deploy:
|
||||
- export RELEASE_TAG=$(cat version.txt)-RC
|
||||
- git tag ${RELEASE_TAG}
|
||||
after_failure:
|
||||
- ./script/message failure
|
||||
deploy:
|
||||
- provider: s3
|
||||
access_key_id: $AWS_ACCESS_KEY_ID
|
||||
|
|
@ -86,11 +85,10 @@ jobs:
|
|||
- ./script/pre_install
|
||||
script:
|
||||
- ./script/build_release release
|
||||
after_failure:
|
||||
- ./script/message failure
|
||||
before_deploy:
|
||||
- export RELEASE_TAG=$(cat version.txt)
|
||||
- git tag ${RELEASE_TAG}
|
||||
after_failure:
|
||||
- ./script/message failure
|
||||
deploy:
|
||||
- provider: s3
|
||||
access_key_id: $AWS_ACCESS_KEY_ID
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ TYPE=$1
|
|||
if [ "${TYPE}" == "dev-push" ]; then
|
||||
BOOT_URL="https://s3.amazonaws.com/${BUCKET_DEV}/${TRAVIS_COMMIT}/index.html"
|
||||
elif [ "${TYPE}" == "rc-push" ]; then
|
||||
BOOT_URL="https://staging.boot.netboot.xyz/${TRAVIS_TAG}/index.html"
|
||||
BOOT_URL="https://staging.boot.netboot.xyz/$(cat version.txt)-RC/index.html"
|
||||
elif [ "${TYPE}" == "live-push" ]; then
|
||||
BOOT_URL="https://staging.boot.netboot.xyz/$(cat version.txt)/index.html"
|
||||
fi
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
1.9.1
|
||||
1.9.2
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue