Skip to content

Commit 14fb73a

Browse files
committed
feat: Fix docker image release.
1 parent 26fa593 commit 14fb73a

2 files changed

Lines changed: 8 additions & 2 deletions

File tree

features/bridge-feature/install.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,11 @@ install_bridge() {
6262
local arch=$(get_arch)
6363
local os="linux"
6464

65+
# Versions like "edge-abc1234" map to the "edge" release tag.
66+
if [[ "$version" == edge-* ]]; then
67+
version="edge"
68+
fi
69+
6570
# Resolve 'latest' to actual version
6671
if [ "$version" = "latest" ]; then
6772
version=$(get_latest_version)

pkg/commands/create.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,9 @@ func Create() *cli.Command {
3535
Usage: "Create a bridge to a Kubernetes deployment",
3636
Flags: []cli.Flag{
3737
&cli.BoolFlag{
38-
Name: "connect",
39-
Usage: "Start a Devcontainer and connect to the bridge after creation",
38+
Name: "connect",
39+
Aliases: []string{"c"},
40+
Usage: "Start a Devcontainer and connect to the bridge after creation",
4041
},
4142
&cli.StringFlag{
4243
Name: "namespace",

0 commit comments

Comments
 (0)