瀏覽代碼

meta: fix Companion release deploy

Antoine du Hamel 2 年之前
父節點
當前提交
023e4c932e
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      .github/workflows/release.yml

+ 1 - 1
.github/workflows/release.yml

@@ -82,7 +82,7 @@ jobs:
           EDGLY_SECRET: ${{secrets.EDGLY_SECRET}}
       - name: Check if Companion was released
         id: checkIfCompanionWasReleased
-        run: git diff --exit-code --quiet HEAD^ -- packages/@uppy/companion/package.json || echo "::set-output name=version::$(jq .version < packages/@uppy/companion/package.json)"
+        run: git diff --exit-code --quiet HEAD^ -- packages/@uppy/companion/package.json || echo "::set-output name=version::$(jq -r .version < packages/@uppy/companion/package.json)"
       - name: Remove release-candidate branch
         run: gh api -X DELETE repos/${{ github.repository }}/git/refs/heads/release-candidate || echo "Already deleted"
         env: