diff --git a/staging/publishing/rules.yaml b/staging/publishing/rules.yaml index c957d7e7b..1e6954ea3 100644 --- a/staging/publishing/rules.yaml +++ b/staging/publishing/rules.yaml @@ -2,14 +2,6 @@ recursive-delete-patterns: - BUILD default-go-version: 1.21.0 rules: - - destination: client-go - library: true - branches: - - source: - branch: master - dir: staging/src/kubesphere.io/client-go - name: master - - destination: api library: true branches: @@ -17,12 +9,22 @@ rules: branch: master dir: staging/src/kubesphere.io/api name: master - smoke-test: | # assumes GO111MODULE=on go build ./... go test ./... + - destination: client-go + library: true + branches: + - source: + branch: master + dir: staging/src/kubesphere.io/client-go + name: master + dependencies: + - repository: api + branch: master + - destination: utils library: true branches: