mirror of
https://github.com/jesseduffield/lazydocker.git
synced 2026-07-25 08:31:03 +00:00
Update GoReleaser to v2 and fix deprecated configs
This commit is contained in:
parent
0c46c84eb4
commit
39a8e864b9
2 changed files with 22 additions and 22 deletions
20
.github/workflows/cd.yml
vendored
20
.github/workflows/cd.yml
vendored
|
|
@ -8,20 +8,22 @@ on:
|
||||||
jobs:
|
jobs:
|
||||||
goreleaser:
|
goreleaser:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
permissions:
|
||||||
|
contents: write
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v4
|
||||||
- name: Unshallow repo
|
|
||||||
run: git fetch --prune --unshallow
|
|
||||||
- name: Setup Go
|
|
||||||
uses: actions/setup-go@v6
|
|
||||||
with:
|
with:
|
||||||
go-version: 1.24.x
|
fetch-depth: 0
|
||||||
|
- name: Setup Go
|
||||||
|
uses: actions/setup-go@v5
|
||||||
|
with:
|
||||||
|
go-version: '1.23'
|
||||||
- name: Run goreleaser
|
- name: Run goreleaser
|
||||||
uses: goreleaser/goreleaser-action@v1
|
uses: goreleaser/goreleaser-action@v6
|
||||||
with:
|
with:
|
||||||
distribution: goreleaser
|
distribution: goreleaser
|
||||||
version: v1.17.2
|
version: '~> v2'
|
||||||
args: release --clean
|
args: release --clean
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{secrets.TOKEN_GITHUB}}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
|
||||||
|
|
@ -36,12 +36,16 @@ builds:
|
||||||
archives:
|
archives:
|
||||||
- builds:
|
- builds:
|
||||||
- binary
|
- binary
|
||||||
replacements:
|
name_template: >-
|
||||||
darwin: Darwin
|
{{ .ProjectName }}_
|
||||||
linux: Linux
|
{{- if eq .Os "darwin" }}Darwin
|
||||||
windows: Windows
|
{{- else if eq .Os "linux" }}Linux
|
||||||
386: x86
|
{{- else if eq .Os "windows" }}Windows
|
||||||
amd64: x86_64
|
{{- else }}{{ .Os }}{{ end }}_
|
||||||
|
{{- if eq .Arch "amd64" }}x86_64
|
||||||
|
{{- else if eq .Arch "386" }}x86
|
||||||
|
{{- else }}{{ .Arch }}{{ end }}
|
||||||
|
{{- if .Arm }}v{{ .Arm }}{{ end }}
|
||||||
format_overrides:
|
format_overrides:
|
||||||
- goos: windows
|
- goos: windows
|
||||||
format: zip
|
format: zip
|
||||||
|
|
@ -61,16 +65,10 @@ changelog:
|
||||||
- "^bump"
|
- "^bump"
|
||||||
|
|
||||||
brews:
|
brews:
|
||||||
- tap:
|
- repository:
|
||||||
owner: christophe-duc
|
owner: christophe-duc
|
||||||
name: homebrew-lazypodman
|
name: homebrew-lazypodman
|
||||||
|
|
||||||
# Your app's homepage.
|
|
||||||
# Default is empty.
|
|
||||||
homepage: "https://github.com/christophe-duc/lazypodman/"
|
homepage: "https://github.com/christophe-duc/lazypodman/"
|
||||||
|
|
||||||
# Your app's description.
|
|
||||||
# Default is empty.
|
|
||||||
description: "A simple terminal UI for podman, written in Go"
|
description: "A simple terminal UI for podman, written in Go"
|
||||||
#snapcrafts:
|
#snapcrafts:
|
||||||
# - builds:
|
# - builds:
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue