[Notes] [Git][BuildStream/buildstream][chandan/automate-pypi-release] TEST: verify shell script



Title: GitLab

Chandan Singh pushed to branch chandan/automate-pypi-release at BuildStream / buildstream

Commits:

1 changed file:

Changes:

  • .gitlab-ci.yml
    ... ... @@ -67,10 +67,12 @@ pypi_release:
    67 67
       - |
    
    68 68
         if [[ ! "$CI_COMMIT_TAG" =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]]; then
    
    69 69
             echo "Not processing non-numeric tag: $CI_COMMIT_TAG for PyPI"
    
    70
    +        exit
    
    70 71
         fi
    
    71 72
         minor_version="$(echo "$CI_COMMIT_TAG" | cut -d. -f2)"
    
    72 73
         if [[ "$(( minor_version %2 ))" -ne 0 ]]; then
    
    73 74
             echo "Not uploading development release: $CI_COMMIT_TAG to PyPI"
    
    75
    +        exit
    
    74 76
         fi
    
    75 77
     
    
    76 78
         # Credentials for PyPI are defined in secret CI variables "TWINE_USERNAME"
    



  • [Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]