diff --git a/CHANGELOG.md b/CHANGELOG.md index 5f44704..01deeb3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,7 +12,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). -## [Unreleased] +## [0.5.0] - 2023-09-29 ### Changed - If the browser uses a dark theme, the default theme is also set to dark diff --git a/package-lock.json b/package-lock.json index b6e845a..fa1f601 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "sake-app", - "version": "0.4.0", + "version": "0.5.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "sake-app", - "version": "0.4.0", + "version": "0.5.0", "license": "(MIT OR Apache-2.0)", "dependencies": { "@noble/hashes": "^1.3.1", diff --git a/package.json b/package.json index 89c3b95..2c105fd 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "sake-app", - "version": "0.4.0", + "version": "0.5.0", "author": "Rodolphe Bréard ", "license": "(MIT OR Apache-2.0)", "private": true, 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