View Issue Details

IDProjectCategoryView StatusLast Update
0026386mantisbttoolspublic2019-12-09 15:04
Reporterdregad Assigned Todregad  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Summary0026386: Build release script fails when no refs are provided on command-line
Description

When no ref to build is provided, the script retrieves the current HEAD's SHA and uses that as release name.

Then instead of using the whole SHA, it tries to checkout each individual letter composing it and building that.

TagsNo tags attached.

Activities

dregad

dregad

2019-11-25 07:38

developer   ~0063139

This is due to using extend() instead of append() to add the SHA to the list of refs.

Related Changesets

Tools: master 8212eebb

2019-11-25 02:21

dregad


Details Diff
buildrelease-repo.py: fix bug when no refs provided

When no ref to build is provided, the script retrieves the current
HEAD's SHA and uses that as release name.

The problem was that using extend() to add the SHA to the list of refs
caused the string to be added as individual chars instead of a single
item. Using append() instead fixes the problem.

Fixes 0026386
Affected Issues
0026386
mod - buildrelease-repo.py Diff File