aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorLuiz Esmiralha <esmiralha@br.ibm.com>2022-11-30 17:57:08 -0300
committerLuiz Esmiralha <esmiralha@br.ibm.com>2022-11-30 17:57:08 -0300
commit1ae6bc1a354988ba52057f6e959ec7de2a6d5bcb (patch)
treea52e0f565c6afb30b34ed46a65d6fa649efe13cf
parenteb9f051979faf04687ad4d5c0ff1b5611b09bdb3 (diff)
downloadmissing-1ae6bc1a354988ba52057f6e959ec7de2a6d5bcb.tar.gz
missing-1ae6bc1a354988ba52057f6e959ec7de2a6d5bcb.zip
debugging
-rw-r--r--.github/workflows/npm-publish.yml5
1 files changed, 4 insertions, 1 deletions
diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml
index 84202cb..d7024c7 100644
--- a/.github/workflows/npm-publish.yml
+++ b/.github/workflows/npm-publish.yml
@@ -26,8 +26,11 @@ jobs:
git config user.name "GitHub Actions Bot"
git config user.email "<>"
- run: |
- echo "new_version=$(echo 'v1.0.4' | cut -c 2-)" >> $GITHUB_ENV
+ echo "new_version=$(echo '${{env.GITHUB_REF_NAME}}' | cut -c 2-)" >> $GITHUB_ENV
- run: npm version ${{env.new_version}}
+ - run: cat package.json | grep version
+ - run: git log -1
+ # - run: git push
- run: npm publish --dry-run
env:
NODE_AUTH_TOKEN: ${{secrets.npm_token}}