Răsfoiți Sursa

chore: update tag

dragooncjw 10 luni în urmă
părinte
comite
d73c2f11e1
2 a modificat fișierele cu 3 adăugiri și 3 ștergeri
  1. 1 1
      .github/workflows/publish-app.yml
  2. 2 2
      .github/workflows/publish.yml

+ 1 - 1
.github/workflows/publish-app.yml

@@ -31,7 +31,7 @@ jobs:
         run: |
           LATEST_VERSION=$(npm view @flowgram.ai/demo-fixed-layout version --tag=latest latest)
           echo "LATEST_VERSION=$LATEST_VERSION" >> $GITHUB_ENV
-          echo "::set-output name=version::$LATEST_VERSION"
+      # https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
       - name: Echo version
         run: |
           echo "The package version is : $LATEST_VERSION"

+ 2 - 2
.github/workflows/publish.yml

@@ -71,6 +71,6 @@ jobs:
         env:
           GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
         run: |
-          git tag v$NEW_VERSION
-          git push origin v$NEW_VERSION
+          git tag "v$NEW_VERSION"
+          git push origin "v$NEW_VERSION"