Skip to content

Commit

Permalink
remove version number from goreleaser archives
Browse files Browse the repository at this point in the history
  • Loading branch information
arriven committed Apr 7, 2022
1 parent 1ff9954 commit 5860df0
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 18 deletions.
5 changes: 1 addition & 4 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,9 @@ builds:
- -s -w
- -extldflags "-static"
- -X github.com/Arriven/db1000n/src/utils/ota.Version={{ .Version }}
- -X github.com/Arriven/db1000n/src/utils.EncryptionKeys={{- .Env.ENCRYPTION_KEYS }}
- -X github.com/Arriven/db1000n/src/job/config.DefaultConfig={{- .Env.DEFAULT_CONFIG_VALUE }}
- -X github.com/Arriven/db1000n/src/utils/metrics.PushGatewayCA={{- .Env.CA_PATH_VALUE }}
- -X github.com/Arriven/db1000n/src/utils/metrics.BasicAuth={{- .Env.PROMETHEUS_BASIC_AUTH }}
archives:
- id: default
name_template: "{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}"
builds:
- db1000n
format: tar.gz
Expand Down
18 changes: 9 additions & 9 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,15 @@ On 24th of February Russia has launched a full-blown invasion on Ukrainian terri

1. Download an application for your platform:

- [Windows](https://github.com/Arriven/db1000n/releases/latest/download/db1000n_{{ git_tag | replace("v","")}}\_windows_386.zip)
- [Mac M1](https://github.com/Arriven/db1000n/releases/latest/download/db1000n_{{ git_tag | replace("v","")}}\_darwin_arm64.tar.gz)
- [Mac Intel](https://github.com/Arriven/db1000n/releases/latest/download/db1000n_{{ git_tag | replace("v","")}}\_darwin_amd64.tar.gz)
- [Linux 32bit](https://github.com/Arriven/db1000n/releases/latest/download/db1000n_{{ git_tag | replace("v","")}}\_linux_386.zip)
- [Linux 64bit](https://github.com/Arriven/db1000n/releases/latest/download/db1000n_{{ git_tag | replace("v","")}}\_linux_amd64.tar.gz)

1. Unpack the archive
1. Launch the file inside the archive
1. Done!
- [Windows](https://github.com/Arriven/db1000n/releases/latest/download/db1000n_windows_386.zip)
- [Mac M1](https://github.com/Arriven/db1000n/releases/latest/download/db1000n_darwin_arm64.tar.gz)
- [Mac Intel](https://github.com/Arriven/db1000n/releases/latest/download/db1000n_darwin_amd64.tar.gz)
- [Linux 32bit](https://github.com/Arriven/db1000n/releases/latest/download/db1000n_linux_386.zip)
- [Linux 64bit](https://github.com/Arriven/db1000n/releases/latest/download/db1000n_linux_amd64.tar.gz)

2. Unpack the archive
3. Launch the file inside the archive
4. Done!

!!! important

Expand Down
10 changes: 5 additions & 5 deletions docs/index.uk.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@

1. Завантажте останню версію програми для вашої платформи:

- [Windows](https://github.com/Arriven/db1000n/releases/latest/download/db1000n_{{ git_tag | replace("v","")}}\_windows_386.zip)
- [Mac M1](https://github.com/Arriven/db1000n/releases/latest/download/db1000n_{{ git_tag | replace("v","")}}\_darwin_arm64.tar.gz)
- [Mac Intel](https://github.com/Arriven/db1000n/releases/latest/download/db1000n_{{ git_tag | replace("v","")}}\_darwin_amd64.tar.gz)
- [Linux 32bit](https://github.com/Arriven/db1000n/releases/latest/download/db1000n_{{ git_tag | replace("v","")}}\_linux_386.zip)
- [Linux 64bit](https://github.com/Arriven/db1000n/releases/latest/download/db1000n_{{ git_tag | replace("v","")}}\_linux_amd64.tar.gz)
- [Windows](https://github.com/Arriven/db1000n/releases/latest/download/db1000n_windows_386.zip)
- [Mac M1](https://github.com/Arriven/db1000n/releases/latest/download/db1000n_darwin_arm64.tar.gz)
- [Mac Intel](https://github.com/Arriven/db1000n/releases/latest/download/db1000n_darwin_amd64.tar.gz)
- [Linux 32bit](https://github.com/Arriven/db1000n/releases/latest/download/db1000n_linux_386.zip)
- [Linux 64bit](https://github.com/Arriven/db1000n/releases/latest/download/db1000n_linux_amd64.tar.gz)

1. Розпакуйте архів
1. Запустіть файл з архіву
Expand Down

0 comments on commit 5860df0

Please sign in to comment.