mirror of
https://github.com/johnkerl/miller.git
synced 2026-08-04 21:43:38 +00:00
Merge branch 'main' of https://github.com/johnkerl/miller
This commit is contained in:
commit
50883cd2ce
2 changed files with 43 additions and 7 deletions
6
.github/workflows/release.yml
vendored
6
.github/workflows/release.yml
vendored
|
|
@ -6,7 +6,7 @@ on:
|
|||
workflow_dispatch:
|
||||
|
||||
env:
|
||||
GO_VERSION: 1.17.5
|
||||
GO_VERSION: 1.17.6
|
||||
|
||||
jobs:
|
||||
release:
|
||||
|
|
@ -31,7 +31,9 @@ jobs:
|
|||
- name: Cache Go modules
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
path: ~/go/pkg/mod
|
||||
path: |
|
||||
~/.cache/go-build
|
||||
~/go/pkg/mod
|
||||
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
|
||||
restore-keys: |
|
||||
${{ runner.os }}-go-
|
||||
|
|
|
|||
|
|
@ -1,7 +1,19 @@
|
|||
# .goreleaser.yml
|
||||
release:
|
||||
github:
|
||||
owner: johnkerl
|
||||
name: miller
|
||||
|
||||
snapshot:
|
||||
name_template: SNAPSHOT-{{ .Commit }}
|
||||
|
||||
#gomod:
|
||||
# proxy: true
|
||||
|
||||
before:
|
||||
hooks:
|
||||
- go mod tidy
|
||||
|
||||
builds:
|
||||
- env:
|
||||
- CGO_ENABLED=0
|
||||
|
|
@ -52,10 +64,32 @@ builds:
|
|||
#ldflags:
|
||||
# - -s -w
|
||||
|
||||
archives:
|
||||
- format: tar.gz
|
||||
wrap_in_directory: true
|
||||
format_overrides:
|
||||
- goos: windows
|
||||
format: zip
|
||||
replacements:
|
||||
darwin: macos
|
||||
name_template: '{{ .ProjectName }}-{{ .Version }}-{{ .Os }}-{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}'
|
||||
files:
|
||||
- LICENSE
|
||||
- README.md
|
||||
|
||||
nfpms:
|
||||
-
|
||||
id: miller-nfpms
|
||||
package_name: miller
|
||||
file_name_template: "{{ .ProjectName }}-{{ .Version }}-{{ .Os }}-{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}"
|
||||
homepage: https://github.com/johnkerl/miller
|
||||
maintainer: "John Kerl <johnkerl@users.noreply.github.com>"
|
||||
description: Miller is like awk, sed, cut, join, and sort for data formats such as CSV, TSV, tabular JSON etc
|
||||
license: BSD
|
||||
formats:
|
||||
- deb
|
||||
- rpm
|
||||
|
||||
checksum:
|
||||
algorithm: sha256
|
||||
|
||||
release:
|
||||
github:
|
||||
owner: johnkerl
|
||||
name: miller
|
||||
name_template: '{{ .ProjectName }}-{{ .Version }}-checksums.txt'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue