merge_helpers.sh: Fix spaces for upstream_previous_tag

Change-Id: I669fd7e764419c9c78c15d7a3c5e5a6ce8af4af4
This commit is contained in:
SpiritCroc 2021-04-12 16:01:39 +02:00
parent 79daede4f5
commit 5d7a1605da
1 changed files with 1 additions and 1 deletions

View File

@ -28,7 +28,7 @@ upstream_latest_tag() {
upstream_previous_tag() {
#git describe --abbrev=0 `upstream_latest_tag`~1 --tags
#downstream_latest_tag | sed 's|sc_\(v.*\).sc.*|\1|'
git log | grep "Merge tag 'v.*' into sc" | head -n 1 |sed "s|Merge tag '\\(v.*\\)' into sc|\1|"
git log | grep "Merge tag 'v.*' into sc" | head -n 1 |sed "s|.*Merge tag '\\(v.*\\)' into sc|\1|"
}
downstream_latest_tag() {
local commit="HEAD"