Browse Source

Extend release script commands

The script contains now the 'prepare' target. It simply stops before
non-local changes starts and could be used to test the script without
any hassle.
master
Olaf Schulz 2 years ago
parent
commit
05bf909316
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      release

+ 4
- 0
release View File

@ -225,6 +225,7 @@ show_help() {
printf "Options:\n"
printf " perform: Perform a release\n"
printf " rollback: Rollback a release\n"
printf " prepare: Like perform, but stop before non-local changes starts.\n"
printf " clean: Cleanup release info (No rollback will be possible afterwards)\n"
printf "$KRST"
}
@ -242,6 +243,9 @@ case "$1" in
rollback)
rollback
;;
prepare) # Do not includes non-local operations
check_clean_state && prepare_release
;;
clean)
clean
;;


Loading…
Cancel
Save