mirror of
https://github.com/commercialhaskell/stackage.git
synced 2026-02-01 17:10:25 +01:00
Add new packages to constraints, not snapshot-incomplete
This commit is contained in:
parent
54f31e2012
commit
c9240400cc
@ -299,7 +299,7 @@ First run `build-next.sh` to regenerate updated `ltsXX/work/constraints.yaml` an
|
|||||||
For an LTS minor bump, you'll typically want to:
|
For an LTS minor bump, you'll typically want to:
|
||||||
|
|
||||||
* Add constraints to package `range:` fields _under_ the `source:` field in that `constraints.yaml`.
|
* Add constraints to package `range:` fields _under_ the `source:` field in that `constraints.yaml`.
|
||||||
* Add new packages versioned to `snapshot-incomplete.yaml` (the `@<hash>` suffix is optional)
|
* Add new packages to the `constraints.yaml` file
|
||||||
* Test, benchmark, haddock failures can also be added to package fields in the `constraints.yaml` if necessary, though it should be avoided if possible for LTS.
|
* Test, benchmark, haddock failures can also be added to package fields in the `constraints.yaml` if necessary, though it should be avoided if possible for LTS.
|
||||||
|
|
||||||
Then run `NOPLAN=1 build-next.sh` to build the generate an updated snapshot.
|
Then run `NOPLAN=1 build-next.sh` to build the generate an updated snapshot.
|
||||||
|
|||||||
@ -107,7 +107,7 @@ then
|
|||||||
docker run $ARGS_PREBUILD $IMAGE /bin/bash -c "curator update && curator constraints --target $TARGET && curator snapshot-incomplete --target $TARGET && curator snapshot"
|
docker run $ARGS_PREBUILD $IMAGE /bin/bash -c "curator update && curator constraints --target $TARGET && curator snapshot-incomplete --target $TARGET && curator snapshot"
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
docker run $ARGS_PREBUILD $IMAGE /bin/bash -c "curator snapshot"
|
docker run $ARGS_PREBUILD $IMAGE /bin/bash -c "curator snapshot-incomplete --target $TARGET && curator snapshot"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user