Changeset - 0f3fabdff546
[Not reviewed]
0 1 0
Branko Majic (branko) - 5 years ago 2018-11-29 20:27:40
branko@majic.rs
Noticket: Fix the release script confirmation verification:

- Conditional for verifying user's request to publish the release was
missing.
1 file changed with 6 insertions and 0 deletions:
0 comments (0 inline, 0 general)
release.sh
Show inline comments
 
@@ -473,6 +473,12 @@ elif [[ $operation == "publish" ]]; then
 
    read -p "Do you want to continue? (y/N) " confirm_release
 
    echo
 

	
 
    # Abort on user's request.
 
    if ! [[ $confirm_release == "y" || $confirm_release == "Y" ]]; then
 
        error "Aborting the preparation process as requested by user."
 
        exit "$ERROR_USER_ABORTED"
 
    fi
 

	
 
    # Clean-up the local build directories.
 
    rm -rf dist/
 
    rm -rf build/
0 comments (0 inline, 0 general)