File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -24,6 +24,8 @@ ifeq ($(shell if which faketime > /dev/null; then echo faketime; fi),faketime)
24
24
export TZ =UTC
25
25
TIMESTAMP := $(shell faketime -f "`git log -n1 --format=format:% ai`" \
26
26
date -u '+% Y-% m-% d % H:% M:% S')
27
+ TOUCH := touch -t $(shell faketime -f "`git log -n1 --format=format:% ai`" \
28
+ date -u '+% Y% m% d% H% M.% S')
27
29
# frozen time
28
30
FAKETIME := faketime -f "$(TIMESTAMP ) "
29
31
# time moving at 5% of normal speed
@@ -60,7 +62,10 @@ release:
60
62
cp ${LICENSE} ${RELEASE_DIR}
61
63
printf " %s\n\n" ${CHANGE_LOG_HEADER} > ${README}
62
64
git log --pretty=format:' * %s' ${SECOND_LATEST_TAG} ..${LATEST_TAG} >> ${README}
63
- find ${RELEASE_DIR} | sort -u | zip -@9 ${RELEASE_DIR} .zip
65
+ # fix the timestamp on the files to include in the zipball
66
+ find ${RELEASE_DIR} | xargs $(TOUCH)
67
+ ls -lR ${RELEASE_DIR}
68
+ find ${RELEASE_DIR} | sort -u | $(FAKETIME) zip -@9 ${RELEASE_DIR}.zip
64
69
rm -rf ${RELEASE_DIR}
65
70
66
71
clean :
You can’t perform that action at this time.
0 commit comments