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)
2424 export TZ =UTC
2525 TIMESTAMP := $(shell faketime -f "`git log -n1 --format=format:% ai`" \
2626 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')
2729# frozen time
2830 FAKETIME := faketime -f "$(TIMESTAMP ) "
2931# time moving at 5% of normal speed
@@ -60,7 +62,10 @@ release:
6062 cp ${LICENSE} ${RELEASE_DIR}
6163 printf " %s\n\n" ${CHANGE_LOG_HEADER} > ${README}
6264 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
6469 rm -rf ${RELEASE_DIR}
6570
6671clean :
You can’t perform that action at this time.
0 commit comments