diff --git a/.github/workflows/module-npmpublish.yml b/.github/workflows/module-npmpublish.yml index 2b63e3c..fff9ecf 100644 --- a/.github/workflows/module-npmpublish.yml +++ b/.github/workflows/module-npmpublish.yml @@ -31,19 +31,8 @@ jobs: scope: ${{ inputs.scope }} - name: Update version with TAG run: | - echo '------' git fetch --tags - echo 'List all tags:' - git tag -l - echo 'Get latest tag:' - git describe --tags `git rev-list --tags --max-count=1` - echo $(git tag --sort=-version:refname | head -n 1) - echo $(git tag | head -n 1) - echo $(git tag --sort=-version:refname) - echo $(git tag) TAG_NAME=$(git tag --sort=-version:refname | head -n 1) - echo $TAG_NAME - echo '------' echo $(jq --arg a "$TAG_NAME" '.version = ($a)' package.json) > package.json - run: yarn install - run: yarn build