Skip to content

Commit 651d91e

Browse files
author
Christopher J Baker
committed
fix workflow commit
1 parent 260ec7b commit 651d91e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/actions/publish-npm/action.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,9 @@ runs:
4747
fi
4848
fi
4949
50-
VERSION="$(npm version ${{ inputs.segment }} $PREID_CMD $WORKSPACE_CMD)"
50+
npm version ${{ inputs.segment }} $PREID_CMD $WORKSPACE_CMD
5151
52+
VERSION="$(cat package.json | jq -r '.version')"
5253
git commit --all --message "Publish ${{ inputs.package }} v$MESSAGE"
5354
git tag "${{ inputs.package }}/v$VERSION"
5455

0 commit comments

Comments
 (0)