Skip to content

Commit f3ba57f

Browse files
authored
Merge branch 'main' into PC-14931-passing-a-yaml-file-that-have-more-then-one-yaml-doc
2 parents e23641b + 1189b2e commit f3ba57f

9 files changed

+413
-8
lines changed

.goreleaser.yml

+6-4
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,16 @@ builds:
1616
- darwin
1717
goarch:
1818
- amd64
19+
- arm64
1920
binary: '{{ .ProjectName }}'
2021

2122
archives:
22-
- format: binary
23-
name_template: '{{ .ProjectName }}-{{ if eq .Os "darwin" }}macos{{ else }}{{ .Os }}{{ end }}-{{ .Version }}'
23+
- formats:
24+
- binary
25+
name_template: '{{ .ProjectName }}-{{ .Version }}-{{ .Os }}-{{ .Arch }}'
2426

2527
checksum:
26-
name_template: '{{ .ProjectName }}-{{ .Version }}-SHA256SUMS'
28+
name_template: '{{ .ProjectName }}-{{ .Version }}.sha256'
2729
algorithm: sha256
2830

2931
release:
@@ -48,7 +50,7 @@ brews:
4850
assert_predicate bin/"{{ .ProjectName }}", :exist?
4951
system "{{ .ProjectName }}", "--help"
5052
install: |
51-
bin.install Dir['{{ .ProjectName }}-*-{{ .Version }}'].first() => "{{ .ProjectName }}"
53+
bin.install Dir['{{ .ProjectName }}-{{ .Version }}-*'].first() => "{{ .ProjectName }}"
5254
caveats: |
5355
Thank you for installing the command-line client for Nobl9!
5456

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ endif
1717
# renovate datasource=github-releases depName=securego/gosec
1818
GOSEC_VERSION := v2.22.1
1919
# renovate datasource=github-releases depName=golangci/golangci-lint
20-
GOLANGCI_LINT_VERSION := v1.64.5
20+
GOLANGCI_LINT_VERSION := v1.64.6
2121
# renovate datasource=go depName=golang.org/x/vuln/cmd/govulncheck
2222
GOVULNCHECK_VERSION := v1.1.4
2323
# renovate datasource=go depName=golang.org/x/tools/cmd/goimports

README.md

+24
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,30 @@ If you want to learn how to fully tame the sloctl's potential, see
5252

5353
## Install
5454

55+
### Script
56+
57+
The script requires bash and a minimal set of GNU utilities.
58+
On Windows it will work with either MinGW or Cygwin.
59+
You can either pipe it directly into bash or download the file and run it manually.
60+
61+
```bash
62+
# Using curl:
63+
curl -fsSL https://raw.githubusercontent.com/nobl9/sloctl/main/install.bash | bash
64+
65+
# On systems where curl is not available:
66+
wget -O - -q https://raw.githubusercontent.com/nobl9/sloctl/main/install.bash | bash
67+
68+
# If you prefer to first download the script, inspect it and then run it:
69+
curl -fsSL -o install.bash https://raw.githubusercontent.com/nobl9/sloctl/main/install.bash
70+
# Or with wget:
71+
wget -O install.bash -q https://raw.githubusercontent.com/nobl9/sloctl/main/install.bash
72+
# Once downloaded, set execution permissions:
73+
chmod 700 install.bash
74+
# The script is well documented and comes with additional options.
75+
# You can display the help message by running:
76+
./install.bash --help
77+
```
78+
5579
### Prebuilt Binaries
5680

5781
The binaries are available at

cspell.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ ignorePaths:
2828
- "**/test_data/**"
2929
- dist/**
3030
words:
31+
- armv
3132
- distroless
3233
- dynatrace
3334
- endef

0 commit comments

Comments
 (0)