diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index 52735ad..495beb6 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -27,6 +27,7 @@ jobs: - run: | git config --local user.email "melvin.vermeer@gmail.com" git config --local user.name "Melvin Vermeer [ci]" + git checkout main jq --arg version ${{ env.RELEASE_VERSION }} '.version = $version' package.json > package.json.tmp mv package.json.tmp package.json git add package.json