Skip to content
Browse files

release: Use git instead of hg for version number in tarballs.

  • Loading branch information...
1 parent 6a25507 commit f5c1f940401ada2291e90636f88aabe98508df6d @jillest jillest committed Apr 22, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 scripts/application.sh
View
2 scripts/application.sh
@@ -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. */

0 comments on commit f5c1f94

Please sign in to comment.
Something went wrong with that request. Please try again.