1
1
mirror of https://github.com/goreleaser/nfpm synced 2024-11-18 00:13:51 +01:00
nfpm/scripts/vercel/build.sh

6 lines
267 B
Bash
Raw Normal View History

#!/bin/bash
set -euo pipefail
chore(ci): keyless signing (#413) * chore(ci): keyless signing Signed-off-by: Carlos A Becker <caarlos0@gmail.com> * docs: fix Signed-off-by: Carlos A Becker <caarlos0@gmail.com> * fix: ci Signed-off-by: Carlos A Becker <caarlos0@gmail.com> * fix: vercel build script Signed-off-by: Carlos A Becker <caarlos0@gmail.com> * docs: improve wording Signed-off-by: Carlos A Becker <caarlos0@gmail.com> * docs: improve wording Signed-off-by: Carlos A Becker <caarlos0@gmail.com> * docs: improve wording Signed-off-by: Carlos A Becker <caarlos0@gmail.com> * chore(Taskfile): Remove -s flag for gofumpt (#421) * chore(deps): bump sigstore/cosign-installer from 1.3.1 to 1.4.1 (#425) Bumps [sigstore/cosign-installer](https://github.com/sigstore/cosign-installer) from 1.3.1 to 1.4.1. - [Release notes](https://github.com/sigstore/cosign-installer/releases) - [Commits](https://github.com/sigstore/cosign-installer/compare/v1.3.1...v1.4.1) --- updated-dependencies: - dependency-name: sigstore/cosign-installer dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * feat(deps): bump github.com/spf13/cobra from 1.2.1 to 1.3.0 (#426) Bumps [github.com/spf13/cobra](https://github.com/spf13/cobra) from 1.2.1 to 1.3.0. - [Release notes](https://github.com/spf13/cobra/releases) - [Changelog](https://github.com/spf13/cobra/blob/master/CHANGELOG.md) - [Commits](https://github.com/spf13/cobra/compare/v1.2.1...v1.3.0) --- updated-dependencies: - dependency-name: github.com/spf13/cobra dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * docs: fix links Signed-off-by: Carlos A Becker <caarlos0@gmail.com> * docs: update help after cobra upgrade Signed-off-by: Carlos A Becker <caarlos0@gmail.com> * fix: name Signed-off-by: Carlos A Becker <caarlos0@gmail.com> Co-authored-by: 4censord <49623362+4censord@users.noreply.github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-12-15 19:30:49 +01:00
version="$(curl -sSf -H "Authorization: Bearer $GITHUB_TOKEN" "https://api.github.com/repos/goreleaser/nfpm/releases/latest" | jq -r '.tag_name')"
sed -s'' -i "s/__VERSION__/$version/g" www/docs/install.md
mkdocs build -f www/mkdocs.yml