Skip to content

Commit

Permalink
use signle gomod
Browse files Browse the repository at this point in the history
  • Loading branch information
schoren committed Oct 20, 2023
1 parent 900f483 commit e57031e
Show file tree
Hide file tree
Showing 11 changed files with 145 additions and 5,227 deletions.
5 changes: 1 addition & 4 deletions .goreleaser.demo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,7 @@ release:
disable: true
before:
hooks:
- dir: ./server
cmd: go mod tidy
- dir: ./cli
cmd: go mod tidy
- go mod tidy
env:
- VERSION={{ if index .Env "VERSION" }}{{ .Env.VERSION }}{{ else }}dev{{ end }}
- TRACETEST_ENV={{ if index .Env "TRACETEST_ENV" }}{{ .Env.TRACETEST_ENV }}{{ else }}dev{{ end }}
Expand Down
5 changes: 1 addition & 4 deletions .goreleaser.dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,7 @@ release:
disable: true
before:
hooks:
- dir: ./server
cmd: go mod tidy
- dir: ./cli
cmd: go mod tidy
- go mod tidy
env:
- VERSION={{ if index .Env "VERSION" }}{{ .Env.VERSION }}{{ else }}dev{{ end }}
# if TAG is defined, use it. Fallback to VERSION
Expand Down
5 changes: 1 addition & 4 deletions .goreleaser.rc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,7 @@ release:
prerelease: "true"
before:
hooks:
- dir: ./server
cmd: go mod tidy
- dir: ./cli
cmd: go mod tidy
- go mod tidy
env:
- VERSION={{ if index .Env "VERSION" }}{{ .Env.VERSION }}{{ else }}dev{{ end }}
- TRACETEST_ENV={{ if index .Env "TRACETEST_ENV" }}{{ .Env.TRACETEST_ENV }}{{ else }}dev{{ end }}
Expand Down
5 changes: 1 addition & 4 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,7 @@ release:
# - glob: ./dist/architecture.png
before:
hooks:
- dir: ./server
cmd: go mod tidy
- dir: ./cli
cmd: go mod tidy
- go mod tidy
env:
- VERSION={{ if index .Env "VERSION" }}{{ .Env.VERSION }}{{ else }}dev{{ end }}
- TRACETEST_ENV={{ if index .Env "TRACETEST_ENV" }}{{ .Env.TRACETEST_ENV }}{{ else }}dev{{ end }}
Expand Down
144 changes: 0 additions & 144 deletions agent/go.mod

This file was deleted.

Loading

0 comments on commit e57031e

Please sign in to comment.