mirror of
https://github.com/commercialhaskell/stackage.git
synced 2026-01-27 06:31:56 +01:00
build.sh: use newest curator to debug doc upload issue
https://github.com/commercialhaskell/stackage-infrastructure/issues/4
This commit is contained in:
parent
bdadaa09bc
commit
6e5cc63ca5
@ -77,7 +77,7 @@ BINDIR=$(cd $ROOT/work/bin ; pwd)
|
|||||||
cd $BINDIR
|
cd $BINDIR
|
||||||
rm -f curator stack *.bz2
|
rm -f curator stack *.bz2
|
||||||
|
|
||||||
curl -L "https://github.com/commercialhaskell/curator/releases/download/commit-dc6e10c5f2144b36794917b512cff13ac5979ff3/curator.bz2" | bunzip2 > curator
|
curl -L "https://github.com/commercialhaskell/curator/releases/download/commit-54cc5a95a7e29550e0fd7a48b24ddad105d223b2/curator.bz2" | bunzip2 > curator
|
||||||
chmod +x curator
|
chmod +x curator
|
||||||
echo -n "curator version: "
|
echo -n "curator version: "
|
||||||
docker run --rm -v $(pwd)/curator:/exe $IMAGE /exe --version
|
docker run --rm -v $(pwd)/curator:/exe $IMAGE /exe --version
|
||||||
@ -156,7 +156,7 @@ docker run $ARGS_UPLOAD $IMAGE /bin/bash -c "exec curator check-target-available
|
|||||||
# * Upload the docs to S3
|
# * Upload the docs to S3
|
||||||
# * Upload the new snapshot .yaml file to the appropriate Github repo, also upload its constraints
|
# * Upload the new snapshot .yaml file to the appropriate Github repo, also upload its constraints
|
||||||
date
|
date
|
||||||
time docker run $ARGS_UPLOAD $IMAGE /bin/bash -c "curator upload-docs --target $TARGET ${DOCS_BUCKET:+--bucket $DOCS_BUCKET} && curator upload-github --target $TARGET"
|
docker run $ARGS_UPLOAD $IMAGE /bin/bash -c "curator upload-docs --target $TARGET ${DOCS_BUCKET:+--bucket $DOCS_BUCKET} && curator upload-github --target $TARGET"
|
||||||
date
|
date
|
||||||
|
|
||||||
# fixed in https://github.com/commercialhaskell/curator/pull/24
|
# fixed in https://github.com/commercialhaskell/curator/pull/24
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user