diff --git a/.github/workflows/build-plugin-zip.yml b/.github/workflows/build-plugin-zip.yml index 9067137320c029..e8a65e69661501 100644 --- a/.github/workflows/build-plugin-zip.yml +++ b/.github/workflows/build-plugin-zip.yml @@ -122,7 +122,7 @@ jobs: VERSION: ${{ steps.get_version.outputs.new_version }} run: | cat <<< $(jq --tab --arg version "${VERSION}" '.version = $version' package.json) > package.json - cat <<< $(jq --tab --arg version "${VERSION}" '.version = $version' package-lock.json) > package-lock.json + cat <<< $(jq --tab --arg version "${VERSION}" '.version = $version | .packages[""].version = $version' package-lock.json) > package-lock.json sed -i "s/${{ steps.get_version.outputs.old_version }}/${VERSION}/g" gutenberg.php - name: Commit the version bump to the release branch