Changeset - 8438b9ac0e79
[Not reviewed]
0 1 0
Branko Majic (branko) - 2 months ago 2024-02-24 22:40:22
branko@majic.rs
GC-46: Updated the release script for changes in tox invcation.
1 file changed with 2 insertions and 2 deletions:
0 comments (0 inline, 0 general)
release.sh
Show inline comments
 
@@ -378,13 +378,13 @@ if [[ $operation == "prepare" ]]; then
 
        error "Aborting the preparation process as requested by user."
 
        exit "$ERROR_USER_ABORTED"
 
    fi
 

	
 
    # Initial test run prior to making changes.
 
    info "Running tests on current branch."
 
    if ! tox --recreate ; then
 
    if ! tox run --recreate --skip-missing-interpreters false; then
 
        error "Failed tests detected on current branch ($current_branch). Aborting the process."
 
        exit "$ERROR_TESTS_FAILED"
 
    fi
 

	
 
    # Request user's attention prior to making a signed commit and tag.
 
    warning "User interaction required for signing new commits and tag. Press [ENTER] to continue."
 
@@ -415,13 +415,13 @@ if [[ $operation == "prepare" ]]; then
 
        cleanup_reset=1
 
        exit "$ERROR_VCS_FAILURE"
 
    fi
 

	
 
    # Rerun tests to ensure everything still works as expected.
 
    info "Running tests with new versioning information in place."
 
    if ! tox --recreate ; then
 
    if ! tox run --recreate --skip-missing-interpreters false; then
 
        error "Failed tests detected after updating versioning information. Aborting the process."
 
        cleanup_reset=1
 
        cleanup_tag=1
 
        exit "$ERROR_TESTS_FAILED"
 
    fi
 

	
0 comments (0 inline, 0 general)