From 25ab08b982d24a8d0cfd2a87296dca0cd1a3630e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rodolphe=20Br=C3=A9ard?= Date: Fri, 29 Sep 2023 18:42:13 +0200 Subject: [PATCH] Update the dependencies on new release --- release.sh | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/release.sh b/release.sh index 843edae..ae90b43 100755 --- a/release.sh +++ b/release.sh @@ -27,6 +27,13 @@ update_app_version() jq ".version = \"${new_version}\"" "package.json" >"${tmp_file}" mv "${tmp_file}" "package.json" sed -i "s/## \[Unreleased\]/## \[${new_version}\] - ${current_date}/" "CHANGELOG.md" + update_dependencies +} + +update_dependencies() +{ + npm update + npm outdated } check_working_directory() @@ -105,6 +112,7 @@ main() local new_version local confirm_release + update_dependencies check_working_directory display_app_version