-
Notifications
You must be signed in to change notification settings - Fork 847
Description
-
Update CI build to produce a
linux-x86_64-staticbindist. It should be the same as thelinux-x86_64version (which is now also static) but the directory name must uselinux-x86_64-staticsincestack upgraderequires the directory name to match the bindist name. -
Modify
stack upgradeto download bindists fromhttps://get.haskellstack.org/upgrade/(e.g. https://get.haskellstack.org/upgrade/linux-x86_64.tar.gz) instead of directly from the Github release, to make it more future proof. -
Modify
stack upgradeso that it doesn't require the downloaded tarball's top-level path component to match the name of the tarball. Just strip off the top-level path component (like to tar's--strip-components 1). This will allow us to set up redirects from get.haskellstack.org/upgrade in the future.