File tree 2 files changed +6
-18
lines changed
2 files changed +6
-18
lines changed Original file line number Diff line number Diff line change @@ -15,22 +15,9 @@ elif [[ "$( git rev-parse "${tag}" )" != "$( git rev-parse HEAD )" ]]; then
15
15
fi
16
16
commit=" $( git rev-parse ${tag} ) "
17
17
18
- function removeimage() {
19
- for i in $@ ; do
20
- if docker inspect $i & > /dev/null; then
21
- docker rmi $i
22
- fi
23
- if docker inspect docker.io/$i & > /dev/null; then
24
- docker rmi docker.io/$i
25
- fi
26
- done
27
- }
28
-
29
18
# Ensure that the build is using the latest public base images
30
- removeimage openshift/origin-base openshift/origin-release openshift/origin-haproxy-router-base
31
- docker pull openshift/origin-base
32
- docker pull openshift/origin-release
33
- docker pull openshift/origin-haproxy-router-base
19
+ docker pull " openshift/origin-base:latest"
20
+ docker pull " ${OS_BUILD_ENV_IMAGE} "
34
21
35
22
OS_GIT_COMMIT=" ${commit} " hack/build-release.sh
36
23
hack/build-images.sh
40
27
echo " Pushed ${tag} to DockerHub"
41
28
echo " 1. Push tag to GitHub with: git push origin --tags # (ensure you have no extra tags in your environment)"
42
29
echo " 2. Create a new release on the releases page and upload the built binaries in _output/local/releases"
43
- echo " 3. Send an email"
30
+ echo " 3. Send an email"
31
+ echo
Original file line number Diff line number Diff line change @@ -28,9 +28,9 @@ function component() {
28
28
if [[ " ${new} " != " ${old} " ]]; then
29
29
version=$( go run tools/godepversion/godepversion.go /tmp/godeps.new $3 comment)
30
30
echo " - Updated to $1 [$version + patches](https://github.com/$2 /commits/$new )"
31
- git log --grep=UPSTREAM --no-merges --pretty=' tformat:%H' $from ..$to -- vendor/$4 | \
32
- xargs -L 1 /bin/sh -c ' echo " - $( git show -s --pretty=tformat:%s $1 | cut -f 2- -d " " ) [\\$( git log $to ^$1 --merges --ancestry-path --pretty="tformat:%s" | tail -1 | cut -f 4 -d " " )](https://github.com/$repo/pull/$( git log $to ^$1 --merges --ancestry-path --pretty="tformat:%s" | tail -1 | cut -f 4 -d " " | cut -c 2- ))"' ' ' | sort -n
33
31
fi
32
+ git log --grep=UPSTREAM --no-merges --pretty=' tformat:%H' $from ..$to -- vendor/$4 | \
33
+ xargs -L 1 /bin/sh -c ' echo " - $( git show -s --pretty=tformat:%s $1 | cut -f 2- -d " " ) [\\$( git log $to ^$1 --merges --ancestry-path --pretty="tformat:%s" | tail -1 | cut -f 4 -d " " )](https://github.com/$repo/pull/$( git log $to ^$1 --merges --ancestry-path --pretty="tformat:%s" | tail -1 | cut -f 4 -d " " | cut -c 2- ))"' ' ' | sort -n
34
34
fi
35
35
}
36
36
You can’t perform that action at this time.
0 commit comments