Skip to content

Commit

Permalink
Merge pull request kubevirt#666 from davidvossel/build-fix
Browse files Browse the repository at this point in the history
Fixes build errors
  • Loading branch information
davidvossel authored Jan 19, 2018
2 parents e4eaf19 + 2b47521 commit a7fb2ed
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
7 changes: 5 additions & 2 deletions hack/gen-swagger-doc/gen-swagger-docs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,11 @@ set -o pipefail

source $(dirname "$0")/../../hack/common.sh

VERSION="${1:-v1}"
OUTPUT_FORMAT="${2:-html}"
VERSION="$1"
OUTPUT_FORMAT="$2"

VERSION="${VERSION:-v1}"
OUTPUT_FORMAT="${OUTPUT_FORMAT:-html}"
GIT_REPO_LINK="https://github.com/kubevirt/kubevirt"
if [ "$OUTPUT_FORMAT" = "html" ]; then
SUFFIX="adoc"
Expand Down
6 changes: 4 additions & 2 deletions hack/release-announce.sh
Original file line number Diff line number Diff line change
Expand Up @@ -101,8 +101,10 @@ EOF
#
# Let's get the party started
#
RELREF=${1:-$(git describe --abbrev=0 --tags)}
PREREF=${2:-$(git describe --abbrev=0 --tags $RELREF^)}
RELREF="$1"
PREREF="$2"
RELREF=${RELREF:-$(git describe --abbrev=0 --tags)}
PREREF=${PREREF:-$(git describe --abbrev=0 --tags $RELREF^)}
RELSPANREF=$PREREF..$RELREF

main
Expand Down

0 comments on commit a7fb2ed

Please sign in to comment.