[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[Git][ftp-team/dak][master] 2 commits: Point release script fixes



Title: GitLab

Joerg Jaspert pushed to branch master at Debian FTP Team / dak

Commits:

1 changed file:

Changes:

  • config/debian/pointrelease
    ... ... @@ -202,7 +202,12 @@ cd ${ftpdir}/dists/${pusuite}
    202 202
     mv -t "${pumorguedir}" -n -- *.changes
    
    203 203
     if [[ -n ${skiplist} ]]; then
    
    204 204
         for pack in ${skiplist}; do
    
    205
    -        mv -t "${ftpdir}/dists/${pusuite}" ${pumorguedir}/${pack}_*.changes
    
    205
    +        # In corner cases, we may not have the changes file to move back - don't crash
    
    206
    +        if compgen -G ${pumorguedir}/${pack}_*.changes >/dev/null; then
    
    207
    +            mv -t "${ftpdir}/dists/${pusuite}" ${pumorguedir}/${pack}_*.changes
    
    208
    +        else
    
    209
    +            echo 'W: No changes files for ${pumorguedir}/${pack}_*.changes - check this is expected'
    
    210
    +        fi
    
    206 211
         done
    
    207 212
     fi
    
    208 213
     
    
    ... ... @@ -328,7 +333,7 @@ done
    328 333
     read -e -p "Does the diff look ok? Enter anything if not, empty if yes (if nonempty, I will open an editor for you)" diffcheck
    
    329 334
     if [[ -n ${diffcheck} ]]; then
    
    330 335
         cd ${ftpdir}/dists/${suite}
    
    331
    -    edit-changelog "" ../README ../../README ../../README.html
    
    336
    +    edit-changelog "Opening changelog" ../README ../../README ../../README.html
    
    332 337
         rm -f -- ./*~ ../*~ ../../*~ ./"#"*"#" ../"#"*"#" ../../"#"*"#"
    
    333 338
     fi
    
    334 339
     
    


  • Reply to: