Skip to content

Commit

Permalink
Fix release doc and update_docs script
Browse files Browse the repository at this point in the history
Docs were slightly out of date an there was a quoting bug in the
update script.

Signed-off-by: John Schnake <jschnake@vmware.com>
  • Loading branch information
johnSchnake committed Feb 11, 2022
1 parent eedd1ec commit f5af769
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/weekly-release.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ labels: release
- Next, generate a set of versioned docs for v0.x.y. For instance, the new docs be generated by running the command:

```
./scripts/update_docs.sh -b v0.20.0
./scripts/update_docs.sh -b -v v0.x.y
```

This will copy the current `main` docs into the version given and update
Expand Down
2 changes: 1 addition & 1 deletion scripts/update_docs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ then
-v "${DIR}":/root \
debian:stretch-slim \
/bin/sh -c \
"sed -i 's/var Version.*/var Version = "${VERSION}"/' /root/pkg/buildinfo/version.go"
"sed -i 's/var Version.*/var Version = \"${VERSION}\"/' /root/pkg/buildinfo/version.go"
fi

docker run --rm \
Expand Down

0 comments on commit f5af769

Please sign in to comment.