Note that pull request template needs to be updated to match verify-package

This commit is contained in:
Adam Bergmark 2021-03-15 23:41:27 +01:00
parent f9500a116c
commit 93f2d1f238
2 changed files with 3 additions and 2 deletions

View File

@ -7,7 +7,7 @@ Checklist:
The script runs virtually the following commands in a clean directory:
stack unpack $package-$version # $version is optional
stack unpack $package-$version # `-$version` is optional
cd $package-$version
rm -f stack.yaml && stack init --resolver nightly
rm -f stack.yaml && stack init --resolver nightly --ignore-subdirs
stack build --resolver nightly --haddock --test --bench --no-run-benchmarks

View File

@ -30,6 +30,7 @@ exit() {
}
trap exit EXIT
# When updating these commands, make sure to update .github/PULL_REQUEST_TEMPLATE.md as well.
cd "$dir"
stack unpack "$package"
cd "$(ls | head -n 1)"