diff options
| author | Oskar <oskar@mullvad.net> | 2025-03-11 17:48:30 +0100 |
|---|---|---|
| committer | Oskar <oskar@mullvad.net> | 2025-03-11 17:48:30 +0100 |
| commit | 67b862226585dd0a29d6042a3d5251e032f6469c (patch) | |
| tree | bc38a8f6b63f106a18f435bb9b2d4dcda4e0c9cb /desktop/scripts/release | |
| parent | b4d99c5edbbdb6f1fa217f74140944ec64f688f2 (diff) | |
| download | mullvadvpn-67b862226585dd0a29d6042a3d5251e032f6469c.tar.xz mullvadvpn-67b862226585dd0a29d6042a3d5251e032f6469c.zip | |
Improve release preparation diff verification output
Diffstat (limited to 'desktop/scripts/release')
| -rwxr-xr-x | desktop/scripts/release/1-prepare-release | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/desktop/scripts/release/1-prepare-release b/desktop/scripts/release/1-prepare-release index 4becc19d06..9f00a7e929 100755 --- a/desktop/scripts/release/1-prepare-release +++ b/desktop/scripts/release/1-prepare-release @@ -61,9 +61,9 @@ function check_changelog { previous_version=$(grep -oP '## \[\K[^\]]+' $changelog_path | head -2 | tail -1) log_header "Changelog since previous release" - git --no-pager diff -U10 "$previous_version"..HEAD -- $changelog_path + git --no-pager diff -U30 "$previous_version"..HEAD -- $changelog_path - log_info "\nThe changelog should only contain changes in the \"Unreleased\" section, unless it's a correction of a previous message." + log_info "\nThe changelog should only contain changes in the \"Unreleased\" section, unless it's a correction of a previous message. If something is added to the section of an already published release, double check that the change was actually included in that release. Changes can be made in another terminal/editor while this script is waiting for input, press 'r' to reprint the new diff after making changes." read -r -n 1 -p "Does this look good? (y: yes, q: abort, r: reload): " response echo "" |
