Skip to content

Commit

Permalink
build & docs: update goreleaser config
Browse files Browse the repository at this point in the history
  • Loading branch information
reddec committed Jan 1, 2023
1 parent 47c547d commit dd75f57
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 19 deletions.
16 changes: 1 addition & 15 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,6 @@ nfpms:
- id: debian
package_name: "trusted-cgi"
file_name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}"
replacements:
Linux: linux
386: i386
homepage: https://github.com/reddec/trusted-cgi
maintainer: Baryshnikov Aleksandr <[email protected]>
description: Lightweigt runner for lambda functions/apps in CGI like mode
Expand All @@ -50,9 +47,6 @@ nfpms:
- id: debian-server
package_name: "trusted-cgi-server"
file_name_template: "{{ .ProjectName }}-server_{{ .Version }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}"
replacements:
Linux: linux
386: i386
homepage: https://github.com/reddec/trusted-cgi
maintainer: Baryshnikov Aleksandr <[email protected]>
description: Lightweigt runner for lambda functions/apps in CGI like mode
Expand Down Expand Up @@ -89,9 +83,6 @@ nfpms:
- id: debian-client
package_name: "trusted-cgi-client"
file_name_template: "{{ .ProjectName }}-client_{{ .Version }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}"
replacements:
Linux: linux
386: i386
homepage: https://github.com/reddec/trusted-cgi
maintainer: Baryshnikov Aleksandr <[email protected]>
description: Client for lightweigt runner for lambda functions/apps in CGI like mode
Expand All @@ -101,12 +92,7 @@ nfpms:
builds:
- client
archives:
- replacements:
Linux: linux
386: i386
windows: windows
darwin: darwin
name_template: "{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}"
- name_template: "{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}"
files:
- LICENSE
- README.md
Expand Down
8 changes: 4 additions & 4 deletions docs/administrating/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,14 @@ TL;DR;

## Debian/Ubuntu

Download the latest release.
Download the latest [release](https://github.com/reddec/trusted-cgi/releases).

```bash
sudo wget -O trusted-cgi_0.3.7_linux_amd64.deb https://github.com/reddec/trusted-cgi/releases/download/v0.3.7/trusted-cgi_0.3.7_linux_amd64.deb
```

Install your distribution:

> Note: debian repository currently unavailable, but DEB fiels are still available in GitHub releases.
> We are looking for the replacement.
* standard (basic templates supported): `sudo apt install ./trusted-cgi_0.3.7_linux_amd64.deb`
* minimal (actions will not work): `sudo apt install --no-install-recommends ./trusted-cgi_0.3.7_linux_amd64.deb`
* maximum (all pre-made templates available): `sudo apt install ./trusted-cgi_0.3.7_linux_amd64.deb php-cli nodejs npm`
Expand Down

0 comments on commit dd75f57

Please sign in to comment.