Skip to content

Commit

Permalink
Merge pull request #128 from humio/mike/tidy_gosum
Browse files Browse the repository at this point in the history
Tidy go.sum
  • Loading branch information
SaaldjorMike authored Sep 7, 2023
2 parents dd0b7a3 + 2813371 commit ccb23ef
Show file tree
Hide file tree
Showing 3 changed files with 457 additions and 140 deletions.
29 changes: 16 additions & 13 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ release:

brews:
-
tap:
repository:
owner: humio
name: homebrew-humio
token: "{{ .Env.HOMEBREW_TAP_GITHUB_TOKEN }}"
Expand All @@ -36,11 +36,14 @@ brews:
archives:
-
name_template: >-
{{- .ProjectName }}_
{{- title .Os }}_
{{- if eq .Arch "amd64" }}x86_64
{{- else if eq .Arch "386" }}i386
{{- else }}{{ .Arch }}{{ end }}
{{- if .Arm }}v{{ .Arm }}{{ end -}}
format: tar.gz
replacements:
amd64: 64-bit
darwin: macOS
linux: Linux
format_overrides:
- goos: windows
format: zip
Expand All @@ -50,16 +53,16 @@ archives:
# # The name of the snap. This is optional.
# # Default is project name.
# name: humioctl
#
#
# # Wether to publish the snap to the snapcraft store.
# # Remember you need to `snapcraft login` first.
# # Defaults to false.
# publish: true
#
#
# # Single-line elevator pitch for your amazing snap.
# # 79 char long at most.
# summary: CLI for managing and streaming data to Humio.
#
#
# # This the description of your snap. You have a paragraph or two to tell the
# # most important story about your snap. Keep it under 100 words though,
# # we live in tweetspace and your description wants to look good in the snap
Expand All @@ -68,30 +71,30 @@ archives:
# The Humio CLI is an easy way to manage your Humio cluster. You can also
# use it to tail files and stream them to Humio, but this is no replacement
# for a full-featured data shipper like filebeat.
#
#
# # A guardrail to prevent you from releasing a snap to all your users before
# # it is ready.
# # `devel` will let you release only to the `edge` and `beta` channels in the
# # store. `stable` will let you release also to the `candidate` and `stable`
# # channels. More info about channels here:
# # https://snapcraft.io/docs/reference/channels
# grade: stable
#
#
# # Snaps can be setup to follow three different confinement policies:
# # `strict`, `devmode` and `classic`. A strict confinement where the snap
# # can only read and write in its own namespace is recommended. Extra
# # permissions for strict snaps can be declared as `plugs` for the app, which
# # are explained later. More info about confinement here:
# # https://snapcraft.io/docs/reference/confinement
# confinement: strict
#
#
# # Each binary built by GoReleaser is an app inside the snap. In this section
# # you can declare extra details for those binaries. It is optional.
# apps:
#
#
# # The name of the app must be the same name as the binary built or the snapcraft name.
# humioctl:
#
#
# # If your app requires extra permissions to work outside of its default
# # confined space, declare them here.
# # You can read the documentation about the available plugs and the
Expand Down
26 changes: 14 additions & 12 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -9,31 +9,33 @@ require (
github.com/mitchellh/go-homedir v1.1.0
github.com/olekukonko/tablewriter v0.0.1
github.com/skratchdot/open-golang v0.0.0-20190402232053-79abb63cd66e
github.com/spf13/cobra v0.0.5
github.com/spf13/viper v1.5.0
github.com/spf13/cobra v1.7.0
github.com/spf13/viper v1.16.0
golang.org/x/sync v0.2.0
golang.org/x/sys v0.8.0
golang.org/x/term v0.8.0
gopkg.in/yaml.v2 v2.2.8
)

require (
github.com/fsnotify/fsnotify v1.4.7 // indirect
github.com/fsnotify/fsnotify v1.6.0 // indirect
github.com/google/uuid v1.3.0 // indirect
github.com/hashicorp/hcl v1.0.0 // indirect
github.com/inconshreveable/mousetrap v1.0.0 // indirect
github.com/inconshreveable/mousetrap v1.1.0 // indirect
github.com/klauspost/compress v1.16.5 // indirect
github.com/magiconair/properties v1.8.1 // indirect
github.com/magiconair/properties v1.8.7 // indirect
github.com/mattn/go-runewidth v0.0.6 // indirect
github.com/mitchellh/mapstructure v1.1.2 // indirect
github.com/pelletier/go-toml v1.2.0 // indirect
github.com/spf13/afero v1.1.2 // indirect
github.com/spf13/cast v1.3.0 // indirect
github.com/spf13/jwalterweatherman v1.0.0 // indirect
github.com/spf13/pflag v1.0.3 // indirect
github.com/subosito/gotenv v1.2.0 // indirect
github.com/mitchellh/mapstructure v1.5.0 // indirect
github.com/pelletier/go-toml/v2 v2.0.8 // indirect
github.com/spf13/afero v1.9.5 // indirect
github.com/spf13/cast v1.5.1 // indirect
github.com/spf13/jwalterweatherman v1.1.0 // indirect
github.com/spf13/pflag v1.0.5 // indirect
github.com/subosito/gotenv v1.4.2 // indirect
golang.org/x/text v0.9.0 // indirect
gopkg.in/fsnotify.v1 v1.4.7 // indirect
gopkg.in/ini.v1 v1.67.0 // indirect
gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
nhooyr.io/websocket v1.8.7 // indirect
)
Loading

0 comments on commit ccb23ef

Please sign in to comment.