Skip to content

Commit

Permalink
Merge pull request #3 from arvancloud/fix-new-app
Browse files Browse the repository at this point in the history
fix new app
  • Loading branch information
pjfa committed Feb 5, 2022
2 parents 966939b + 9e09c04 commit 7f91f61
Show file tree
Hide file tree
Showing 4 changed files with 54 additions and 60 deletions.
39 changes: 36 additions & 3 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,47 @@
builds:
- id: arvan
- id: arvan_linux
env:
- CGO_ENABLED=0
main: ./cmd/arvan/arvan.go
binary: arvan
goos:
- linux
- darwin
goarch:
- amd64
ldflags:
- -s -w
- -X 'k8s.io/client-go/pkg/version.gitVersion=v{{.Version}}'
- -X 'k8s.io/client-go/pkg/version.gitCommit={{.Commit}}'
- -X 'github.com/openshift/oc/pkg/version.versionFromGit=v{{.Version}}'
- -X 'github.com/openshift/oc/pkg/version.commitFromGit={{.Commit}}'
hooks:
post:
- upx -7 "{{ .Path }}"
- id: arvan_windows
env:
- CGO_ENABLED=1
main: ./cmd/arvan/arvan.go
binary: arvan
goos:
- windows
goarch:
- amd64
- "386"
ldflags:
- -s -w
- -X 'k8s.io/client-go/pkg/version.gitVersion=v{{.Version}}'
- -X 'k8s.io/client-go/pkg/version.gitCommit={{.Commit}}'
- -X 'github.com/openshift/oc/pkg/version.versionFromGit=v{{.Version}}'
- -X 'github.com/openshift/oc/pkg/version.commitFromGit={{.Commit}}'
hooks:
post:
- upx -7 "{{ .Path }}"
- id: arvan_darwin
main: ./cmd/arvan/arvan.go
binary: arvan
goos:
- darwin
goarch:
- amd64
ldflags:
- -s -w
- -X 'k8s.io/client-go/pkg/version.gitVersion=v{{.Version}}'
Expand Down
5 changes: 1 addition & 4 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ go 1.16
require (
github.com/MakeNowJust/heredoc v1.0.0
github.com/Microsoft/go-winio v0.4.16 // indirect
github.com/alexbrainman/sspi v0.0.0-20200928142253-2a432fede40d // indirect
github.com/apcera/gssapi v0.0.0-20161010215902-5fb4217df13b // indirect
github.com/aws/aws-sdk-go v1.36.7 // indirect
github.com/containerd/continuity v0.0.0-20201208142359-180525291bb7 // indirect
github.com/containers/image v3.0.2+incompatible // indirect
Expand All @@ -23,7 +21,6 @@ require (
github.com/openshift/library-go v0.0.0-20201211095848-8399bf6288d6
github.com/openshift/oc v0.0.0-alpha.0.0.20201210232229-4ebfe9cad4c3
github.com/spf13/cobra v1.1.1
github.com/spf13/pflag v1.0.5
github.com/xeipuuv/gojsonschema v1.2.0 // indirect
gopkg.in/yaml.v2 v2.3.0
k8s.io/api v0.20.0-beta.2
Expand All @@ -48,7 +45,7 @@ replace (
github.com/openshift/api => github.com/openshift/api v0.0.0-20201119144013-9f0856e7c657
github.com/openshift/client-go => github.com/openshift/client-go v0.0.0-20201119144744-148025d790a9
github.com/openshift/library-go => github.com/openshift/library-go v0.0.0-20201119162840-a8387fdfa05b
github.com/openshift/oc => github.com/arvancloud/oc v0.0.0-alpha.0.0.20201229052306-dff55bd9edf0
github.com/openshift/oc => github.com/arvancloud/oc v0.0.0-alpha.0.0.20220201225934-5f7714a898fa

golang.org/x/crypto => golang.org/x/crypto v0.0.0-20200220183623-bac4c82f6975

Expand Down
Loading

0 comments on commit 7f91f61

Please sign in to comment.