This commit is contained in:
qiaofeng1227 2023-08-17 10:34:24 +08:00
parent 8a84f74ade
commit a565de63c9
3 changed files with 5 additions and 1 deletions

View file

@ -19,6 +19,8 @@ jobs:
- name: Read release mode - name: Read release mode
run: | run: |
release=$(jq -r '.RELEASE' version.json) release=$(jq -r '.RELEASE' version.json)
echo $release
exit 1
if [$release == "dev"]; then if [$release == "dev"]; then
echo "dev, exit" echo "dev, exit"
exit 1 exit 1

View file

@ -19,6 +19,8 @@ jobs:
- name: Read release mode - name: Read release mode
run: | run: |
release=$(jq -r '.RELEASE' version.json) release=$(jq -r '.RELEASE' version.json)
echo $release
exit 1
if [$release == "prodution"]; then if [$release == "prodution"]; then
echo "prodution, exit" echo "prodution, exit"
exit 1 exit 1

View file

@ -43,6 +43,6 @@
"18.04" "18.04"
] ]
}, },
"RELEASE": "dev", "RELEASE": "production",
"VERSION": "0.8.14" "VERSION": "0.8.14"
} }