Просмотр исходного кода

ci: do not post updates about enterprise releases to emqx.io

Ivan Dyachkov 3 лет назад
Родитель
Сommit
cfae0baf03
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      .github/workflows/release.yaml

+ 2 - 2
.github/workflows/release.yaml

@@ -69,9 +69,9 @@ jobs:
         with:
           asset_paths: '["packages/*"]'
       - name: update to emqx.io
-        if: github.event_name == 'release' || inputs.publish_release_artefacts
+        if: startsWith(github.ref_name, 'v') && (github.event_name == 'release' || inputs.publish_release_artefacts)
         run: |
-          set -e -x -u
+          set -eux
           curl -w %{http_code} \
                --insecure \
                -H "Content-Type: application/json" \