Use HEAD instead of LAST_STABLE_TAG
This commit is contained in:
parent
232145eac1
commit
edd2de49c3
@ -2,9 +2,9 @@
|
|||||||
|
|
||||||
# Update README repo manifest revisions from git
|
# Update README repo manifest revisions from git
|
||||||
|
|
||||||
LAST_STABLE_TAG=$(git describe --abbrev=0 --tags --match='*[0-9]')
|
#LAST_STABLE_TAG=$(git describe --abbrev=0 --tags --match='[0-9]*[0-9]')
|
||||||
sed -i 's@\(.*name="fdroidclient\.git".*revision="\)[^"]*\(".*\)@\1'$LAST_STABLE_TAG'\2@' README.md
|
#sed -i 's@\(.*name="fdroidclient\.git".*revision="\)[^"]*\(".*\)@\1'$LAST_STABLE_TAG'\2@' README.md
|
||||||
|
|
||||||
git ls-tree $LAST_STABLE_TAG extern/ | while read _ _ revision path; do
|
git ls-tree HEAD extern/ | while read _ _ revision path; do
|
||||||
sed -i 's@\(.*fdroidclient/'$path'".*revision="\)[^"]*\(".*\)@\1'$revision'\2@' README.md
|
sed -i 's@\(.*fdroidclient/'$path'".*revision="\)[^"]*\(".*\)@\1'$revision'\2@' README.md
|
||||||
done
|
done
|
||||||
|
Loading…
x
Reference in New Issue
Block a user