Skip to content

Commit 260075b

Browse files
authored
fix: make sure that the build epoch is *always* updated whenever the distribution packages are being built (#1118)
1 parent 051d418 commit 260075b

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

Makefile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -191,6 +191,9 @@ dist/$(PACKAGE_NAME)-$(PACKAGE_VERSION)-docs-html.zip: docs-html
191191
python -m zipfile -c dist/$(PACKAGE_NAME)-$(PACKAGE_VERSION)-docs-html.zip docs/_build/html/
192192
dist/$(PACKAGE_NAME)-$(PACKAGE_VERSION)-docs-md.zip: docs-md
193193
python -m zipfile -c dist/$(PACKAGE_NAME)-$(PACKAGE_VERSION)-docs-md.zip docs/_build/markdown/
194+
195+
# Keep this goal phony to ensure the epoch is always updated.
196+
.PHONY: dist/$(PACKAGE_NAME)-$(PACKAGE_VERSION)-build-epoch.txt
194197
dist/$(PACKAGE_NAME)-$(PACKAGE_VERSION)-build-epoch.txt:
195198
echo $(SOURCE_DATE_EPOCH) > dist/$(PACKAGE_NAME)-$(PACKAGE_VERSION)-build-epoch.txt
196199

0 commit comments

Comments
 (0)