update latest versions

Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
This commit is contained in:
Jess Frazelle 2018-06-25 12:45:10 -04:00
parent 1916cab05e
commit a9c0d01bec
No known key found for this signature in database
GPG Key ID: 18F3685C0022BFF3
3 changed files with 6 additions and 6 deletions

View File

@ -16,9 +16,9 @@ AUTH_HEADER="Authorization: token ${GITHUB_TOKEN}"
get_latest() {
local repo=$1
local resp=$(curl -sSL -H "${AUTH_HEADER}" -H "${API_HEADER}" "${URI}/repos/${repo}/releases/latest")
local tag=$(echo $resp | jq -e --raw-output .tag_name)
local name=$(echo $resp | jq -e --raw-output .name)
local resp=$(curl -sSL -H "${AUTH_HEADER}" -H "${API_HEADER}" "${URI}/repos/${repo}/releases")
local tag=$(echo $resp | jq -e --raw-output .[0].tag_name)
local name=$(echo $resp | jq -e --raw-output .[0].name)
if [[ "$tag" == "null" ]]; then
# get the latest tag
@ -86,7 +86,7 @@ compare() {
echo -e "\e[36m${dir}:\e[39m current ${current} | ${tag} | ${name}"
else
# add to the bad versions
if [[ "$dir" != "rstudio" ]] && [[ "$dir" != "bazel" ]] && [[ "$dir" != "azure-cli-extension-noelbundick" ]]; then
if [[ "$dir" != "rstudio" ]] && [[ "$dir" != "bazel" ]]; then
bad_versions+=( "${dir}" )
fi
echo -e "\e[31m${dir}:\e[39m current ${current} | ${tag} | ${name} | ${releases}"

View File

@ -4,7 +4,7 @@ LABEL maintainer "Christian Koep <christiankoep@gmail.com>"
ENV PATH /go/bin:/usr/local/go/bin:$PATH
ENV GOPATH /go
ENV MICRO_VERSION v1.4.0
ENV MICRO_VERSION nightly
RUN buildDeps=' \
go \

View File

@ -1,7 +1,7 @@
FROM debian:sid
LABEL maintainer "Christian Koep <christiankoep@gmail.com>"
ENV ROUTERSPLOIT_VERSION v3.1.0
ENV ROUTERSPLOIT_VERSION v3.2.0
RUN apt-get update && apt-get install -y \
git \