Open jamal-fuma opened 8 years ago
export BUILD_NUMBER="$(date --utc --date="@${SOURCE_DATE_EPOCH:-$(date +%s)}" +%Y-%m-%d)"
export PRODUCT_NAME="$( [ -f ${REPO}/name.txt ] || echo basename "${REPO}"
> ${REPO}/name.txt; cat ${REPO}/name.txt)"
export PRODUCT_PVER="$( [ -f ${REPO}/version.txt ] || echo '1' > ${REPO}/version.txt; cat ${REPO}/version.txt)"
https://reproducible-builds.org/specs/source-date-epoch/