In 'make dist' add a symlink to the latest output

This commit is contained in:
Noah 2020-06-05 00:12:27 -07:00
parent cb155c8750
commit b0a2524f1a

View File

@ -123,6 +123,7 @@ __dist-common:
cp bin/* dist/doodle-$(VERSION)/ cp bin/* dist/doodle-$(VERSION)/
cp -r README.md Changes.md "Open Source Licenses.md" rtp dist/doodle-$(VERSION)/ cp -r README.md Changes.md "Open Source Licenses.md" rtp dist/doodle-$(VERSION)/
rm -rf dist/doodle-$(VERSION)/rtp/.git rm -rf dist/doodle-$(VERSION)/rtp/.git
ln -sf doodle-$(VERSION) dist/doodle-latest
cd dist && tar -czvf doodle-$(VERSION).tar.gz doodle-$(VERSION) cd dist && tar -czvf doodle-$(VERSION).tar.gz doodle-$(VERSION)
cd dist && zip -r doodle-$(VERSION).zip doodle-$(VERSION) cd dist && zip -r doodle-$(VERSION).zip doodle-$(VERSION)