mirror of
https://github.com/usual2970/certimate.git
synced 2025-06-07 21:19:51 +00:00
build: config goreleaser
This commit is contained in:
parent
851ad70a6c
commit
2453048288
6
.github/workflows/release.yml
vendored
6
.github/workflows/release.yml
vendored
@ -1,4 +1,4 @@
|
||||
name: Base Build
|
||||
name: Release
|
||||
|
||||
on:
|
||||
push:
|
||||
@ -22,13 +22,13 @@ jobs:
|
||||
- name: Set up Go
|
||||
uses: actions/setup-go@v5
|
||||
with:
|
||||
go-version: ">=1.24.0"
|
||||
go-version-file: "go.mod"
|
||||
|
||||
- name: Build WebUI
|
||||
run: npm --prefix=./ui ci && npm --prefix=./ui run build
|
||||
|
||||
- name: Run GoReleaser
|
||||
uses: goreleaser/goreleaser-action@v3
|
||||
uses: goreleaser/goreleaser-action@v5
|
||||
with:
|
||||
distribution: goreleaser
|
||||
version: latest
|
||||
|
@ -35,8 +35,8 @@ release:
|
||||
|
||||
archives:
|
||||
- id: archive_noncgo
|
||||
builds: [build_noncgo]
|
||||
format: zip
|
||||
ids: [build_noncgo]
|
||||
format: ["zip"]
|
||||
files:
|
||||
- CHANGELOG.md
|
||||
- LICENSE.md
|
||||
@ -46,7 +46,7 @@ checksum:
|
||||
name_template: "checksums.txt"
|
||||
|
||||
snapshot:
|
||||
name_template: "{{ incpatch .Version }}-next"
|
||||
version_template: "{{ incpatch .Version }}-next"
|
||||
|
||||
changelog:
|
||||
sort: asc
|
||||
|
Loading…
x
Reference in New Issue
Block a user