浏览代码

Update SKIP_RELEASE_BUILD to only check for the string "1" (so it has to be exactly "SKIP_RELEASE_BUILD=1" to skip the release build)

Signed-off-by: Andrew "Tianon" Page <admwiggin@gmail.com>
Tianon Gravi 8 年之前
父节点
当前提交
a7ddc9d7e6
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      hack/release.sh

+ 1 - 1
hack/release.sh

@@ -303,7 +303,7 @@ release_index() {
 }
 }
 
 
 main() {
 main() {
-	[[ "$SKIP_RELEASE_BUILD" -eq 1 ]] || build_all
+	[ "$SKIP_RELEASE_BUILD" = '1' ] || build_all
 	setup_s3
 	setup_s3
 	release_binaries
 	release_binaries
 	release_index
 	release_index