mirror of
https://github.com/goreleaser/goreleaser.git
synced 2025-02-03 13:11:48 +02:00
docs: fix version in docs (#2681)
* docs: fix version in docs * fix: script * docs: improve install * fix: curl * fix: get releases * docs: instructions * docs: instructions
This commit is contained in:
parent
d296507f3a
commit
8faf7dbe55
@ -1,4 +1,6 @@
|
||||
#!/bin/bash
|
||||
set -euo pipefail
|
||||
./scripts/get-releases.sh
|
||||
version="$(curl -sSf -H "Authorization: Bearer $GITHUB_TOKEN" "https://api.github.com/repos/goreleaser/goreleaser/releases/latest" | jq -r '.tag_name')"
|
||||
sed -s'' -i "s/__VERSION__/$version/g" www/docs/install.md
|
||||
mkdocs build -f www/mkdocs.yml
|
||||
|
@ -135,7 +135,11 @@ All artifacts are checksummed and the checksum file is signed with [cosign][].
|
||||
You can verify it using [our public key](https://goreleaser.com/static/goreleaser.pub).
|
||||
|
||||
=== "OSS"
|
||||
1. Download the files you want, the `checksums.txt` and `checksums.txt.sig` files from the [releases][releases] page.
|
||||
1. Download the files you want, and both the `checksums.txt` and `checksums.txt.sig` files from the [releases][releases] page:
|
||||
```sh
|
||||
wget https://github.com/goreleaser/goreleaser/releases/download/__VERSION__/checksums.txt
|
||||
wget https://github.com/goreleaser/goreleaser/releases/download/__VERSION__/checksums.txt.sig
|
||||
```
|
||||
1. Verify the signature:
|
||||
```sh
|
||||
cosign verify-blob \
|
||||
@ -149,7 +153,11 @@ You can verify it using [our public key](https://goreleaser.com/static/gorelease
|
||||
```
|
||||
|
||||
=== "Pro"
|
||||
1. Download the files you want, the `checksums.txt` and `checksums.txt.sig` files from the [releases][pro-releases] page.
|
||||
1. Download the files you want, and both the `checksums.txt` and `checksums.txt.sig` files from the [releases][pro-releases] page:
|
||||
```sh
|
||||
wget https://github.com/goreleaser/goreleaser-pro/releases/download/__VERSION__-pro/checksums.txt
|
||||
wget https://github.com/goreleaser/goreleaser-pro/releases/download/__VERSION__-pro/checksums.txt.sig
|
||||
```
|
||||
1. Verify the signature:
|
||||
```sh
|
||||
cosign verify-blob \
|
||||
@ -174,9 +182,6 @@ You can verify it using [our public key](https://goreleaser.com/static/gorelease
|
||||
cosign verify \
|
||||
-key https://goreleaser.com/static/goreleaser.pub \
|
||||
goreleaser/goreleaser
|
||||
cosign verify \
|
||||
-key https://goreleaser.com/static/goreleaser.pub \
|
||||
ghcr.io/goreleaser/goreleaser
|
||||
```
|
||||
|
||||
=== "Pro"
|
||||
@ -185,9 +190,6 @@ You can verify it using [our public key](https://goreleaser.com/static/gorelease
|
||||
cosign verify \
|
||||
-key https://goreleaser.com/static/goreleaser.pub \
|
||||
goreleaser/goreleaser-pro
|
||||
cosign verify \
|
||||
-key https://goreleaser.com/static/goreleaser.pub \
|
||||
ghcr.io/goreleaser/goreleaser-pro
|
||||
```
|
||||
|
||||
## Running with Docker
|
||||
|
Loading…
x
Reference in New Issue
Block a user