mirror of
https://github.com/matrix-construct/construct
synced 2024-11-29 02:02:38 +01:00
release: Use git instead of hg for version number in tarballs.
This commit is contained in:
parent
6a25507e90
commit
f5c1f94040
1 changed files with 1 additions and 1 deletions
|
@ -25,7 +25,7 @@ if [ "x$TIP" = "x" ]; then
|
|||
fi
|
||||
|
||||
# Charybdis wants the hg tip to be in include/serno.h, in its own format.
|
||||
MYTIP=`hg parents --template '{date|shortdate}_{node|short}' 2>/dev/null | sed -e s/-//g -e s/_/-/`
|
||||
MYTIP=`git log -1 --date=short --pretty=format:%cd_%h 2>/dev/null | sed -e s/-//g -e s/_/-/`
|
||||
echo "[charybdis] Generating include/serno.h for tip $MYTIP."
|
||||
cat << _EOF_ > include/serno.h
|
||||
/* Generated automatically by makepackage. Any changes made here will be lost. */
|
||||
|
|
Loading…
Reference in a new issue