-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge 96b423c into auto-backport/49116-to-branch/v15
- Loading branch information
Showing
1 changed file
with
5 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -94,12 +94,17 @@ jobs: | |
git config --global user.email "[email protected]" | ||
git config --global user.name "GitHub" | ||
# get Go version from go.mod | ||
GO_VERSION=$(go mod edit -json | jq -r .Go) | ||
# update versions in docs/config.json | ||
# for docker images replace version number after <docker image name>: | ||
jq --arg major "${MAJOR_VERSION}" \ | ||
--arg version "${FULL_VERSION}" \ | ||
--arg go_version "${GO_VERSION}" \ | ||
'.variables.teleport.major_version |= $major | | ||
.variables.teleport.version |= $version | | ||
.variables.teleport.golang |= $go_version | | ||
.variables.teleport.plugin.version |= $version | | ||
.variables.teleport.latest_oss_docker_image |= sub(":.*";":")+$version | | ||
.variables.teleport.latest_oss_debug_docker_image |= sub(":.*";":")+$version | | ||
|