Skip to content

Commit

Permalink
chore: upgrade version
Browse files Browse the repository at this point in the history
  • Loading branch information
gshilei committed Dec 18, 2024
1 parent f28a9d4 commit ff70e80
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion modules/network/example/dev/example_workspace.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
modules:
network:
path: oci://ghcr.io/kusionstack/network
version: 0.2.0
version: 0.2.3
configs:
default:
port:
Expand Down
4 changes: 2 additions & 2 deletions modules/network/example/dev/kcl.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ name = "example"

[dependencies]
kam = { git = "https://github.com/KusionStack/kam.git", tag = "0.2.0" }
service = {oci = "oci://ghcr.io/kusionstack/service", tag = "0.1.0" }
network = { oci = "oci://ghcr.io/kusionstack/network", tag = "0.2.0" }
service = { oci = "oci://ghcr.io/kusionstack/service", tag = "0.2.0" }
network = { oci = "oci://ghcr.io/kusionstack/network", tag = "0.2.3" }

[profile]
entries = ["main.k"]
2 changes: 1 addition & 1 deletion modules/network/kcl.mod
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[package]
name = "network"
version = "0.2.1-rc.1"
version = "0.2.3"
4 changes: 2 additions & 2 deletions modules/network/src/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ TEST?=$$(go list ./... | grep -v 'vendor')
###### chang variables below according to your own modules ###
NAMESPACE=kusionstack
NAME=network
VERSION=0.2.1-rc.1
VERSION=0.2.3
BINARY=../bin/kusion-module-${NAME}_${VERSION}

LOCAL_ARCH := $(shell uname -m)
Expand All @@ -17,7 +17,7 @@ export OS_ARCH ?= $(GOARCH_LOCAL)
default: install

build-darwin:
GOOS=darwin GOARCH=arm64 go build -o ${BINARY} ./${NAME}
GOOS=darwin GOARCH=amd64 go build -o ${BINARY}

install: build-darwin
# copy module binary to $KUSION_HOME. e.g. ~/.kusion/modules/kusionstack/network/v0.1.0/darwin/arm64/kusion-module-network_0.1.0
Expand Down
2 changes: 1 addition & 1 deletion modules/network/src/network.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ func (network *Network) Generate(ctx context.Context, request *module.GeneratorR
resources = append(resources, *ingressRes)
}

// Generate network ingressClasss related resources.
// Generate network ingressClass related resources.
ingressClassRes, err := network.GenerateIngressClassResource(request)
if err != nil {
return nil, err
Expand Down

0 comments on commit ff70e80

Please sign in to comment.