From 5afd0ed94f88278d27cb408bb167dcbdeed0c041 Mon Sep 17 00:00:00 2001 From: zhanghengxin <812718649@qq.com> Date: Wed, 24 May 2023 11:31:13 +0800 Subject: [PATCH] Update publish_npm.yaml Signed-off-by: zhanghengxin <812718649@qq.com> --- .github/workflows/publish_npm.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/publish_npm.yaml b/.github/workflows/publish_npm.yaml index 81013c7..45eb808 100644 --- a/.github/workflows/publish_npm.yaml +++ b/.github/workflows/publish_npm.yaml @@ -19,7 +19,7 @@ jobs: node-version: 16 registry-url: https://registry.npmjs.org/ - - run: git describe --tags `git rev-list --tags --max-count=1` + - run: git -h - name: Get version id: get_version run: echo "VERSION=$( git describe --tags `git rev-list --tags --max-count=1` )" >> $GITHUB_OUTPUT