diff --git a/.github/workflows/upload_artifact.yml b/.github/workflows/upload_artifact.yml index 3d777435..5776e17f 100644 --- a/.github/workflows/upload_artifact.yml +++ b/.github/workflows/upload_artifact.yml @@ -16,6 +16,14 @@ jobs: - uses: actions/checkout@v2 name: Check out code + - name: Read release mode + run: | + release=$(jq -r '.RELEASE' version.json) + if [$release == "dev"]; then + echo "dev, exit" + exit 1 + fi + - name: Read Plugin Version id: update_data run: | diff --git a/.github/workflows/upload_test_artifact.yml b/.github/workflows/upload_test_artifact.yml index 8e0cadbf..6cf978b9 100644 --- a/.github/workflows/upload_test_artifact.yml +++ b/.github/workflows/upload_test_artifact.yml @@ -16,6 +16,14 @@ jobs: - uses: actions/checkout@v2 name: Check out code + - name: Read release mode + run: | + release=$(jq -r '.RELEASE' version.json) + if [$release == "prodution"]; then + echo "prodution, exit" + exit 1 + fi + - name: Read Plugin Version id: update_data run: | diff --git a/version.json b/version.json index 5a789be7..390f0e85 100644 --- a/version.json +++ b/version.json @@ -43,5 +43,6 @@ "18.04" ] }, + "RELEASE": "dev", "VERSION": "0.8.14" } \ No newline at end of file