Skip to content

Commit 5d9ebe8

Browse files
committed
fix: correct variable name and fix package.json formatting
- Fix bug: ${new_version} -> ${VERSION} in update-release-changelog.sh - Add trailing newline to package.json for Prettier compliance
1 parent b774173 commit 5d9ebe8

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/scripts/update-release-changelog.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -208,15 +208,15 @@ echo "Generating changelog for ${PLATFORM} ${VERSION}.."
208208
if [[ "${REQUIRE_PR_NUMBERS}" == "true" ]]; then
209209
yarn auto-changelog update --rc \
210210
--repo "${GITHUB_REPOSITORY_URL}" \
211-
--currentVersion "${new_version}" \
211+
--currentVersion "${VERSION}" \
212212
--autoCategorize \
213213
--useChangelogEntry \
214214
--useShortPrLink \
215215
--requirePrNumbers
216216
else
217217
yarn auto-changelog update --rc \
218218
--repo "${GITHUB_REPOSITORY_URL}" \
219-
--currentVersion "${new_version}" \
219+
--currentVersion "${VERSION}" \
220220
--autoCategorize \
221221
--useChangelogEntry \
222222
--useShortPrLink

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,4 +86,4 @@
8686
"@swc/core": false
8787
}
8888
}
89-
}
89+
}

0 commit comments

Comments
 (0)