Skip to content

Commit

Permalink
fix: Try to include the latest changelog, not the previous one.
Browse files Browse the repository at this point in the history
  • Loading branch information
xdy committed Dec 18, 2023
1 parent e4e80c1 commit b8e5aa9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ sed -i "s/\"version\": \"[^\"]*\"/\"version\": \"$1\"/" static/module.json &&
sed -i -r s"~${MANIFEST_SEARCH_PATTERN}~${LATEST_MAIN_REPLACE}~" static/module.json &&
sed -i -r s"~${DOWNLOAD_SEARCH_PATTERN}~${VERSION_MAIN_REPLACE}~" static/module.json &&
cp static/module.json dist &&
cp CHANGELOG.md dist &&
sed -i "s/\"version\": \"[^\"]*\"/\"version\": \"$1\"/" package.json &&
npm install &&
cd dist || exit &&
Expand Down

0 comments on commit b8e5aa9

Please sign in to comment.