live build debugging need to do the tagging in the script section if you have multiple deploys

This commit is contained in:
thelamer 2019-12-07 16:51:04 -08:00
parent d6e7be819e
commit af1c825633
3 changed files with 6 additions and 8 deletions

View file

@ -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

View file

@ -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

View file

@ -1 +1 @@
1.9.1
1.9.2