Skip to content

Commit

Permalink
npm without tag
Browse files Browse the repository at this point in the history
  • Loading branch information
eirikb committed Jun 8, 2021
1 parent 28d0ec0 commit 750a7a3
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,14 +45,26 @@ jobs:
run: git commit -am "Updated readme" || true

- name: Set version
run: npm version ${{ github.event.inputs.version }} --no-git-tag-version
run: npm version --no-git-tag-version ${{ github.event.inputs.version }}

- name: Git push
run: git push

- name: TEST
run: |
npm show . version
git status
git tag -l
git tag -v
- name: Set env
run: echo "PKG_VERSION=$(npm show . version)" >> $GITHUB_ENV

- name: TEST2
run: |
echo $GITHUB_ENV
echo ${{ env.PKG_VERSION }}
- name: Create Release
uses: actions/create-release@v1
env:
Expand Down

0 comments on commit 750a7a3

Please sign in to comment.