pre_merge.sh: ignore failure during git tag
Do not fail if tag already exists Change-Id: I8c54fe85879e8bd1866ee96951aca406a03862ed
This commit is contained in:
parent
035e8e3f98
commit
349fbe0f23
|
@ -13,7 +13,7 @@ versionMajor=`get_prop ext.versionMajor`
|
||||||
versionMinor=`get_prop ext.versionMinor`
|
versionMinor=`get_prop ext.versionMinor`
|
||||||
versionPatch=`get_prop ext.versionPatch`
|
versionPatch=`get_prop ext.versionPatch`
|
||||||
tag="sc_last_v$versionMajor.$versionMinor.$versionPatch"
|
tag="sc_last_v$versionMajor.$versionMinor.$versionPatch"
|
||||||
git tag "$tag"
|
git tag "$tag" || true
|
||||||
|
|
||||||
# Revert Schildi's upstream string changes
|
# Revert Schildi's upstream string changes
|
||||||
git checkout `upstream_common_base` -- "$mydir/library/ui-strings/src/main/res/**/strings.xml"
|
git checkout `upstream_common_base` -- "$mydir/library/ui-strings/src/main/res/**/strings.xml"
|
||||||
|
|
Loading…
Reference in New Issue