Handle 0 incrementals
This commit is contained in:
parent
c8fbad4be7
commit
4816eed0f4
2 changed files with 8 additions and 6 deletions
|
@ -114,11 +114,13 @@ do
|
|||
echo "$INCREMENTALS"
|
||||
echo
|
||||
|
||||
for from in $INCREMENTALS; do
|
||||
echo "Building incremental update for $platform_name from $from to $VERSION"
|
||||
"$ROOT_DIR/update-packaging/build_autoupdate.sh" -i "$from" -c "$CHANNEL" -p ${PLATFORMS:i:1} -l $VERSION
|
||||
echo
|
||||
done
|
||||
if [ -n "$INCREMENTALS" ]; then
|
||||
for from in $INCREMENTALS; do
|
||||
echo "Building incremental update for $platform_name from $from to $VERSION"
|
||||
"$ROOT_DIR/update-packaging/build_autoupdate.sh" -i "$from" -c "$CHANNEL" -p ${PLATFORMS:i:1} -l $VERSION
|
||||
echo
|
||||
done
|
||||
fi
|
||||
done
|
||||
|
||||
# Upload builds to S3
|
||||
|
|
|
@ -81,7 +81,7 @@ if [ "$VERSION" ]; then
|
|||
echo $VERSION >> "$INCR_PATH"
|
||||
aws s3 cp "$INCR_PATH" $S3_URL
|
||||
# Show last n versions
|
||||
elif [ "$NUM_VERSIONS" ]; then
|
||||
elif [ "$NUM_VERSIONS" -gt 0 ]; then
|
||||
# TEMP: Don't include 6.0 versions
|
||||
#tail -n $NUM_VERSIONS "$INCR_PATH"
|
||||
tail -n $NUM_VERSIONS "$INCR_PATH" | grep -v '^6\.0'
|
||||
|
|
Loading…
Reference in a new issue