mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
to not keep old debs for experimental
Signed-off-by: Jessica Frazelle <acidburn@docker.com>
This commit is contained in:
parent
9ce0a20c01
commit
aadb3407d3
1 changed files with 3 additions and 1 deletions
|
@ -38,6 +38,7 @@ fi
|
|||
# set the component and priority for the version being released
|
||||
component="main"
|
||||
priority=700
|
||||
options="--keepunreferencedfiles"
|
||||
|
||||
if [[ "$VERSION" == *-rc* ]]; then
|
||||
component="testing"
|
||||
|
@ -47,6 +48,7 @@ fi
|
|||
if [ $DOCKER_EXPERIMENTAL ] || [[ "$VERSION" == *-dev ]] || [ -n "$(git status --porcelain)" ]; then
|
||||
component="experimental"
|
||||
priority=600
|
||||
options=
|
||||
fi
|
||||
|
||||
# release the debs
|
||||
|
@ -64,7 +66,7 @@ for dir in contrib/builder/deb/*/; do
|
|||
-k releasedocker --sign builder "${DEBFILE[@]}"
|
||||
fi
|
||||
|
||||
reprepro -v --keepunreferencedfiles \
|
||||
reprepro -v $options \
|
||||
-S docker-engine -P "$priority" -C "$component" \
|
||||
-b "$APTDIR" includedeb "$codename" "${DEBFILE[@]}"
|
||||
done
|
||||
|
|
Loading…
Add table
Reference in a new issue