You've already forked goreleaser
mirror of
https://github.com/goreleaser/goreleaser.git
synced 2025-11-06 09:09:29 +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:
committed by
GitHub
parent
d296507f3a
commit
8faf7dbe55
@@ -1,4 +1,6 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
set -euo pipefail
|
set -euo pipefail
|
||||||
./scripts/get-releases.sh
|
./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
|
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).
|
You can verify it using [our public key](https://goreleaser.com/static/goreleaser.pub).
|
||||||
|
|
||||||
=== "OSS"
|
=== "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:
|
1. Verify the signature:
|
||||||
```sh
|
```sh
|
||||||
cosign verify-blob \
|
cosign verify-blob \
|
||||||
@@ -149,7 +153,11 @@ You can verify it using [our public key](https://goreleaser.com/static/gorelease
|
|||||||
```
|
```
|
||||||
|
|
||||||
=== "Pro"
|
=== "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:
|
1. Verify the signature:
|
||||||
```sh
|
```sh
|
||||||
cosign verify-blob \
|
cosign verify-blob \
|
||||||
@@ -174,9 +182,6 @@ You can verify it using [our public key](https://goreleaser.com/static/gorelease
|
|||||||
cosign verify \
|
cosign verify \
|
||||||
-key https://goreleaser.com/static/goreleaser.pub \
|
-key https://goreleaser.com/static/goreleaser.pub \
|
||||||
goreleaser/goreleaser
|
goreleaser/goreleaser
|
||||||
cosign verify \
|
|
||||||
-key https://goreleaser.com/static/goreleaser.pub \
|
|
||||||
ghcr.io/goreleaser/goreleaser
|
|
||||||
```
|
```
|
||||||
|
|
||||||
=== "Pro"
|
=== "Pro"
|
||||||
@@ -185,9 +190,6 @@ You can verify it using [our public key](https://goreleaser.com/static/gorelease
|
|||||||
cosign verify \
|
cosign verify \
|
||||||
-key https://goreleaser.com/static/goreleaser.pub \
|
-key https://goreleaser.com/static/goreleaser.pub \
|
||||||
goreleaser/goreleaser-pro
|
goreleaser/goreleaser-pro
|
||||||
cosign verify \
|
|
||||||
-key https://goreleaser.com/static/goreleaser.pub \
|
|
||||||
ghcr.io/goreleaser/goreleaser-pro
|
|
||||||
```
|
```
|
||||||
|
|
||||||
## Running with Docker
|
## Running with Docker
|
||||||
|
|||||||
Reference in New Issue
Block a user