Skip to content

Commit

Permalink
fix(Boeing/config-file-validator): use go_build
Browse files Browse the repository at this point in the history
  • Loading branch information
suzuki-shunsuke committed Oct 6, 2023
1 parent ffebcf6 commit b98c0bb
Show file tree
Hide file tree
Showing 3 changed files with 50 additions and 6 deletions.
6 changes: 6 additions & 0 deletions pkgs/Boeing/config-file-validator/pkg.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,11 @@ packages:
- name: Boeing/config-file-validator@v1.4.0
- name: Boeing/config-file-validator
version: v1.3.0
- name: Boeing/config-file-validator
version: v1.2.0
- name: Boeing/config-file-validator
version: v1.1.0
- name: Boeing/config-file-validator
version: v1.0.1
- name: Boeing/config-file-validator
version: v1.0.0
25 changes: 22 additions & 3 deletions pkgs/Boeing/config-file-validator/registry.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,16 +38,35 @@ packages:
goarch: arm64
type: go_install
path: github.com/Boeing/config-file-validator/cmd/validator
- version_constraint: semver("< 1.3.0")
- version_constraint: semver(">= 1.0.1")
asset: validator.{{.OS}}-{{.Arch}}
overrides:
- goos: windows
goarch: amd64
asset: validator
- goarch: arm64
type: go_install
path: git.web.boeing.com/vle-oss/config-file-validator/cmd/validator
path: github.com/Boeing/config-file-validator/cmd/validator
- goos: darwin
type: go_install
path: git.web.boeing.com/vle-oss/config-file-validator/cmd/validator
path: github.com/Boeing/config-file-validator/cmd/validator
replacements: {}
- version_constraint: Version == "v1.0.0"
asset: validator.{{.OS}}-{{.Arch}}
replacements: {}
overrides:
- goos: windows
goarch: amd64
asset: validator
- goarch: arm64
type: go_build
files:
- name: validator
src: ./cmd/validator
dir: config-file-validator-{{trimV .Version}}
- goos: darwin
type: go_build
files:
- name: validator
src: ./cmd/validator
dir: config-file-validator-{{trimV .Version}}
25 changes: 22 additions & 3 deletions registry.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit b98c0bb

Please sign in to comment.