ceu-lang: Use committer date instead of author date
%ci:no-build
This commit is contained in:
parent
21ad739b03
commit
e785eaadbc
|
@ -14,7 +14,7 @@ termux_step_post_get_source() {
|
|||
git fetch --unshallow
|
||||
git checkout $_COMMIT
|
||||
|
||||
local version="$(git log -1 --date=format:"%Y.%m.%d" --format="%ad")"
|
||||
local version="$(git log -1 --format=%cs | sed 's/-/./g')"
|
||||
if [ "$version" != "$TERMUX_PKG_VERSION" ]; then
|
||||
echo -n "ERROR: The specified version \"$TERMUX_PKG_VERSION\""
|
||||
echo " is different from what is expected to be: \"$version\""
|
||||
|
|
Loading…
Reference in New Issue