build: Fix Subject-line feature list extraction
Bang on sed until a better incantation appears. Change-Id: Ib8ad0996b6325db0fe983c86dd7dc553c9d388c4 Type: fix Fixes:26ce6ca1feSigned-off-by: Jon Loeliger <jdl@netgate.com> (cherry picked from commit171577e129)
This commit is contained in:
committed by
Dave Wallace
parent
34ccf72c4a
commit
a1261bd0b3
@@ -1,7 +1,8 @@
|
||||
#/bin/env bash
|
||||
|
||||
KNOWN_FEATURES=$(cat MAINTAINERS | sed -ne 's/^I:[[:space:]]*//p')
|
||||
FEATURES=$(git show -s --format=%s --no-color | sed -e 's/\([a-z0-9 -]*\):.*/\1/')
|
||||
FEATURES=$(git show -s --format=%s --no-color \
|
||||
| sed -ne 's/^\([a-z0-9 -]*\):.*$/\1/p')
|
||||
KNOWN_TYPES="feature fix refactor style docs test make"
|
||||
TYPE=$(git show -s --format=%b --no-color | sed -ne 's/^Type:[[:space:]]*//p')
|
||||
ERR="=============================== ERROR ==============================="
|
||||
|
||||
Reference in New Issue
Block a user