mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2024-12-23 16:21:26 +01:00
merge_helpers.sh: downstream_latest_tag: Refer to HEAD instead of sc
Fix getting the best tag in detached head state, when sc is not up-to-date. Change-Id: I50294b9de3134815deef30a4b1c61da81721de89
This commit is contained in:
parent
10e67bd5df
commit
786660f3bd
@ -28,7 +28,7 @@ upstream_previous_tag() {
|
||||
git describe --abbrev=0 `upstream_latest_tag`~1 --tags
|
||||
}
|
||||
downstream_latest_tag() {
|
||||
local commit="sc"
|
||||
local commit="HEAD"
|
||||
while true; do
|
||||
local tag=`git describe --abbrev=0 "$commit" --tags`
|
||||
if [[ "$tag" =~ "sc_" ]]; then
|
||||
|
Loading…
Reference in New Issue
Block a user