浏览代码

tweek ednpoint and update releases to no longer push static html file

thelamer 5 年之前
父节点
当前提交
d6e7be819e
共有 1 个文件被更改,包括 1 次插入2 次删除
  1. 1 2
      script/build_release

+ 1 - 2
script/build_release

@@ -10,7 +10,7 @@ if [[ "${TYPE}" == "dev" ]]; then
 elif [[ "${TYPE}" == "pr" ]]; then
   BOOT_DOMAIN="test.com"
 elif [[ "${TYPE}" == "rc" ]]; then
-  BOOT_DOMAIN="staging.boot.netboot.xyz/${TRAVIS_TAG}"
+  BOOT_DOMAIN="staging.boot.netboot.xyz/$(cat version.txt)-RC"
 elif [[ "${TYPE}" == "release" ]]; then
   BOOT_DOMAIN="staging.boot.netboot.xyz/$(cat version.txt)"
 fi
@@ -53,5 +53,4 @@ if [[ "${TYPE}" == "release" ]] || [[ "${TYPE}" == "rc" ]]; then
   fi
   mkdir -p s3out-latest
   cp -r buildout/* s3out-latest/
-  cp script/index.html s3out-latest/
 fi