• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..19-Jul-2021-

LICENSEH A D19-Jul-20211.5 KiB3124

README.mdH A D19-Jul-20211.1 KiB4127

Setup.hsH A D19-Jul-202146 32

build-stack-installer.hsH A D19-Jul-20213.3 KiB9460

ci-setup.shH A D19-Jul-2021630 2617

get-hlint.shH A D19-Jul-2021778 218

get-stack.shH A D19-Jul-202121.2 KiB806519

hlint.shH A D19-Jul-2021128 95

install-many-stack-releases.hsH A D19-Jul-20216.2 KiB164106

integration-tests.shH A D19-Jul-202195 41

mirror-ghc-bindists-to-github.shH A D19-Jul-20214.9 KiB11378

release.hsH A D19-Jul-202116.3 KiB443336

sdist-with-bounds.shH A D19-Jul-20213.4 KiB7061

upload-haddocks.shH A D19-Jul-2021666 1715

with-vagrant.shH A D19-Jul-2021689 159

README.md

1release.hs
2==========
3
4This tool automates some aspects of releasing a new version of Stack. It
5currently handles some tasks that need to be performed on each platform:
6building the release, running integration tests, and other pre-release checks.
7
8See [Checklist](../../doc/maintainers/releases.md) of
9additional manual release steps.
10
11Prerequisites
12-------------
13
14These must be installed in the PATH to use the release tool:
15
16- stack
17- git (for Windows, [msysgit](https://msysgit.github.io) is recommended).
18
19Invocation
20----------
21
22Usage: `stack etc/scripts/release.hs [OPTIONS] TARGET`
23
24The tool must be run in the root of the working tree.
25
26### Options
27
28The release tool is shake-based, so all standard shake options apply. In
29addition, the following options are accepted:
30
31* `--allow-dirty`: by default, the `check` rule aborts if the working tree is
32  dirty, but this will allow it to continue.
33  uploaded to.
34
35### Targets
36
37* `release`: check and build.
38* `check`: run pre-release checks.
39* `build`: build and sign the binary distribution.
40* `clean`: delete the build artifacts.
41