2020-08-06 20:58:47 +03:00
|
|
|
before:
|
|
|
|
hooks:
|
2022-11-07 08:49:05 +03:00
|
|
|
- go mod tidy
|
2022-12-30 02:16:18 +03:00
|
|
|
- ./.completions.sh
|
2022-12-30 05:02:10 +03:00
|
|
|
- ./.manpages.sh
|
2020-08-06 20:58:47 +03:00
|
|
|
|
|
|
|
builds:
|
2022-11-07 08:49:05 +03:00
|
|
|
- builder: prebuilt
|
2020-08-06 20:58:47 +03:00
|
|
|
goos:
|
|
|
|
- linux
|
|
|
|
- windows
|
2022-11-07 08:49:05 +03:00
|
|
|
- darwin
|
2020-08-06 20:58:47 +03:00
|
|
|
goarch:
|
|
|
|
- amd64
|
2022-11-07 08:49:05 +03:00
|
|
|
- arm64
|
|
|
|
goamd64:
|
|
|
|
- v1
|
|
|
|
ignore:
|
|
|
|
- goos: windows
|
|
|
|
goarch: arm64
|
|
|
|
prebuilt:
|
|
|
|
path: dist-{{ .Os }}/sq_{{ .Os }}_{{ .Arch }}{{ with .Amd64 }}_{{ . }}{{ end }}/sq{{ .Ext }}
|
|
|
|
binary: sq
|
2020-08-06 20:58:47 +03:00
|
|
|
|
|
|
|
archives:
|
|
|
|
-
|
2022-11-20 04:33:41 +03:00
|
|
|
name_template: "{{.ProjectName}}-{{ .Version }}-{{.Os}}-{{.Arch}}"
|
2020-08-06 20:58:47 +03:00
|
|
|
replacements:
|
2021-01-04 00:06:16 +03:00
|
|
|
darwin: macos
|
2020-08-06 20:58:47 +03:00
|
|
|
format_overrides:
|
|
|
|
- goos: windows
|
|
|
|
format: zip
|
2022-11-07 08:49:05 +03:00
|
|
|
files:
|
|
|
|
- README.md
|
|
|
|
- LICENSE
|
2022-12-17 09:14:51 +03:00
|
|
|
- CHANGELOG.md
|
2022-12-30 02:16:18 +03:00
|
|
|
- completions/*
|
2022-12-30 05:02:10 +03:00
|
|
|
- manpages/*
|
2020-08-06 20:58:47 +03:00
|
|
|
|
|
|
|
checksum:
|
2022-11-07 08:49:05 +03:00
|
|
|
name_template: 'checksums.txt'
|
2020-08-06 20:58:47 +03:00
|
|
|
snapshot:
|
2022-11-07 08:49:05 +03:00
|
|
|
name_template: "{{ .Tag }}-snapshot"
|
2020-08-06 20:58:47 +03:00
|
|
|
changelog:
|
2022-11-07 08:49:05 +03:00
|
|
|
skip: true
|
2020-08-06 20:58:47 +03:00
|
|
|
|
|
|
|
release:
|
|
|
|
github:
|
|
|
|
owner: neilotoole
|
2020-12-30 22:26:33 +03:00
|
|
|
name: sq
|
2020-08-06 21:37:33 +03:00
|
|
|
draft: false
|
2020-08-06 20:58:47 +03:00
|
|
|
prerelease: auto
|
2020-08-06 21:37:33 +03:00
|
|
|
|
2020-08-06 20:58:47 +03:00
|
|
|
brews:
|
|
|
|
-
|
2022-11-07 08:49:05 +03:00
|
|
|
homepage: "https://github.com/neilotoole/sq"
|
2022-12-30 01:00:45 +03:00
|
|
|
description: "sq: swiss-army knife for data"
|
2022-11-07 08:49:05 +03:00
|
|
|
license: MIT
|
2021-01-02 08:24:20 +03:00
|
|
|
tap:
|
2020-08-06 20:58:47 +03:00
|
|
|
owner: neilotoole
|
|
|
|
name: homebrew-sq
|
|
|
|
|
|
|
|
commit_author:
|
|
|
|
name: neilotoole
|
|
|
|
email: neilotoole@apache.org
|
|
|
|
|
|
|
|
install: |
|
|
|
|
bin.install "sq"
|
2022-12-30 02:16:18 +03:00
|
|
|
bash_completion.install "completions/sq.bash" => "sq"
|
|
|
|
zsh_completion.install "completions/sq.zsh" => "_sq"
|
|
|
|
fish_completion.install "completions/sq.fish"
|
2022-12-30 05:02:10 +03:00
|
|
|
man1.install "manpages/sq.1.gz"
|
2022-11-07 08:49:05 +03:00
|
|
|
test: |
|
|
|
|
system "#{bin}/sq --version"
|
2020-08-06 20:58:47 +03:00
|
|
|
|
|
|
|
scoop:
|
|
|
|
bucket:
|
|
|
|
owner: neilotoole
|
2020-12-30 22:26:33 +03:00
|
|
|
name: sq
|
2020-08-06 20:58:47 +03:00
|
|
|
homepage: "https://sq.io"
|
2022-12-30 01:00:45 +03:00
|
|
|
description: "sq: swiss-army knife for data"
|
2020-08-06 20:58:47 +03:00
|
|
|
license: MIT
|
2022-11-07 08:49:05 +03:00
|
|
|
commit_author:
|
|
|
|
name: neilotoole
|
|
|
|
email: neilotoole@apache.org
|
2020-08-06 20:58:47 +03:00
|
|
|
|
|
|
|
nfpms:
|
|
|
|
-
|
|
|
|
formats:
|
2022-12-25 09:57:41 +03:00
|
|
|
- apk
|
2020-08-06 20:58:47 +03:00
|
|
|
- deb
|
|
|
|
- rpm
|
2022-12-25 09:57:41 +03:00
|
|
|
- termux.deb
|
|
|
|
- archlinux
|
2022-11-07 08:49:05 +03:00
|
|
|
vendor: "neilotoole"
|
2022-11-07 10:31:19 +03:00
|
|
|
maintainer: "neilotoole <neilotoole@apache.org>"
|
2022-11-07 08:49:05 +03:00
|
|
|
homepage: "https://sq.io"
|
2022-12-30 01:00:45 +03:00
|
|
|
description: "sq: swiss-army knife for data"
|
2022-11-07 08:49:05 +03:00
|
|
|
license: "MIT"
|
2022-12-30 02:16:18 +03:00
|
|
|
contents:
|
|
|
|
- src: ./completions/sq.bash
|
|
|
|
dst: /usr/share/bash-completion/completions/sq
|
|
|
|
file_info:
|
|
|
|
mode: 0644
|
|
|
|
- src: ./completions/sq.fish
|
|
|
|
dst: /usr/share/fish/vendor_completions.d/sq.fish
|
|
|
|
file_info:
|
|
|
|
mode: 0644
|
|
|
|
- src: ./completions/sq.zsh
|
|
|
|
dst: /usr/share/zsh/vendor-completions/_sq
|
|
|
|
file_info:
|
|
|
|
mode: 0644
|
2022-12-30 05:02:10 +03:00
|
|
|
- src: ./manpages/sq.1.gz
|
|
|
|
dst: /usr/share/man/man1/sq.1.gz
|
|
|
|
file_info:
|
|
|
|
mode: 0644
|
2020-08-06 20:58:47 +03:00
|
|
|
|
2022-11-07 08:49:05 +03:00
|
|
|
furies:
|
|
|
|
# Upload deb and rpm to fury.io. Requires that envar $FURY_TOKEN be set.
|
|
|
|
- account: neilotoole
|
2022-12-30 01:00:45 +03:00
|
|
|
|
|
|
|
aurs:
|
|
|
|
-
|
|
|
|
# The package name.
|
|
|
|
#
|
|
|
|
# Defaults to the Project Name with a -bin suffix.
|
|
|
|
#
|
|
|
|
# Note that since this integration does not create a PKGBUILD to build from
|
|
|
|
# source, per Arch's guidelines.
|
|
|
|
# That said, GoReleaser will enforce a `-bin` suffix if it's not present.
|
|
|
|
name: sq-bin
|
|
|
|
|
|
|
|
|
|
|
|
# Your app's homepage.
|
|
|
|
# Default is empty.
|
|
|
|
homepage: "https://sq.io"
|
|
|
|
|
|
|
|
# Template of your app's description.
|
|
|
|
# Default is empty.
|
|
|
|
description: "sq: swiss-army knife for data"
|
|
|
|
|
|
|
|
# The maintainers of the package.
|
|
|
|
# Defaults to empty.
|
|
|
|
maintainers:
|
|
|
|
- 'neilotoole <neilotoole@apache.org>'
|
|
|
|
- 'Diego Souza <diegosouza.br@gmail.com>'
|
|
|
|
|
|
|
|
# The contributors of the package.
|
|
|
|
# Defaults to empty.
|
|
|
|
contributors:
|
|
|
|
- 'neilotoole <neilotoole@apache.org>'
|
|
|
|
|
|
|
|
# SPDX identifier of your app's license.
|
|
|
|
# Default is empty.
|
|
|
|
license: "MIT"
|
|
|
|
|
|
|
|
# The SSH private key that should be used to commit to the Git repository.
|
|
|
|
# This can either be a path or the key contents.
|
|
|
|
#
|
|
|
|
# WARNING: do not expose your private key in the configuration file!
|
|
|
|
private_key: '{{ .Env.AUR_PRIVATE_KEY }}'
|
|
|
|
|
|
|
|
# The AUR Git URL for this package.
|
|
|
|
# Defaults to empty
|
|
|
|
# Publish is skipped if empty.
|
|
|
|
git_url: 'ssh://aur@aur.archlinux.org/sq-bin.git'
|
|
|
|
|
|
|
|
# Setting this will prevent goreleaser to actually try to commit the updated
|
|
|
|
# formula - instead, the formula file will be stored on the dist folder only,
|
|
|
|
# leaving the responsibility of publishing it to the user.
|
|
|
|
#
|
|
|
|
# If set to auto, the release will not be uploaded to the AUR repo
|
|
|
|
# in case there is an indicator for prerelease in the tag e.g. v1.0.0-rc1.
|
|
|
|
#
|
|
|
|
# Default is false.
|
|
|
|
skip_upload: false
|
|
|
|
|
|
|
|
# List of additional packages that the software provides the features of.
|
|
|
|
#
|
|
|
|
# Defaults to the project name.
|
|
|
|
provides:
|
|
|
|
- sq
|
|
|
|
|
|
|
|
# List of packages that conflict with, or cause problems with the package.
|
|
|
|
#
|
|
|
|
# Defaults to the project name.
|
|
|
|
conflicts:
|
|
|
|
- sq
|
|
|
|
|
|
|
|
# List of packages that must be installed to install this.
|
|
|
|
#
|
|
|
|
# Defaults to empty.
|
|
|
|
# depends:
|
|
|
|
# - curl
|
|
|
|
|
|
|
|
# List of packages that are not needed for the software to function,
|
|
|
|
# but provide additional features.
|
|
|
|
#
|
|
|
|
# Must be in the format `package: short description of the extra functionality`.
|
|
|
|
#
|
|
|
|
# Defaults to empty.
|
|
|
|
# optdepends:
|
|
|
|
# - 'wget: for downloading things'
|
|
|
|
|
|
|
|
# List of files that can contain user-made changes and should be preserved
|
|
|
|
# during package upgrades and removals.
|
|
|
|
#
|
|
|
|
# Default: empty.
|
|
|
|
# Since: v1.12
|
|
|
|
backup:
|
|
|
|
# - /etc/foo.conf # This should really include the sq config? ~/.config/sq/sq.yml
|
|
|
|
|
|
|
|
# Custom package instructions.
|
|
|
|
#
|
|
|
|
# Defaults to `install -Dm755 "./PROJECT_NAME" "${pkgdir}/usr/bin/PROJECT_NAME",
|
|
|
|
# which is not always correct.
|
|
|
|
#
|
|
|
|
# We recommend you override this, installing the binary, license and
|
|
|
|
# everything else your package needs.
|
|
|
|
package: |-
|
|
|
|
# bin
|
2022-12-30 02:16:18 +03:00
|
|
|
mkdir -p "${pkgdir}/usr/bin"
|
2022-12-30 01:00:45 +03:00
|
|
|
install -Dm755 "./sq" "${pkgdir}/usr/bin/sq"
|
|
|
|
|
|
|
|
# license
|
2022-12-30 02:16:18 +03:00
|
|
|
mkdir -p "${pkgdir}/usr/share/licenses/sq"
|
2022-12-30 01:34:26 +03:00
|
|
|
install -Dm644 "./LICENSE" "${pkgdir}/usr/share/licenses/sq/LICENSE"
|
2022-12-30 01:00:45 +03:00
|
|
|
|
2022-12-30 02:16:18 +03:00
|
|
|
|
2022-12-30 01:00:45 +03:00
|
|
|
# completions
|
2022-12-30 02:16:18 +03:00
|
|
|
mkdir -p "${pkgdir}/usr/share/bash-completion/completions/"
|
|
|
|
mkdir -p "${pkgdir}/usr/share/zsh/site-functions/"
|
|
|
|
mkdir -p "${pkgdir}/usr/share/fish/vendor_completions.d/"
|
|
|
|
|
2022-12-30 05:02:10 +03:00
|
|
|
install -Dm644 "./completions/sq.bash" "${pkgdir}/usr/share/bash-completion/completions/sq"
|
|
|
|
install -Dm644 "./completions/sq.zsh" "${pkgdir}/usr/share/zsh/site-functions/_sq"
|
|
|
|
install -Dm644 "./completions/sq.fish" "${pkgdir}/usr/share/fish/vendor_completions.d/sq.fish"
|
2022-12-30 01:00:45 +03:00
|
|
|
|
2022-12-30 02:16:18 +03:00
|
|
|
# docs
|
|
|
|
mkdir -p "${pkgdir}/usr/share/doc/sq"
|
|
|
|
install -Dm644 "./README.md" "${pkgdir}/usr/share/doc/sq/README.md"
|
2022-12-30 05:02:10 +03:00
|
|
|
mkdir -p "${pkgdir}/usr/share/man/man1"
|
|
|
|
install -Dm644 "./manpages/sq.1.gz" "${pkgdir}/usr/share/man/man1/sq.1.gz"
|
2022-12-30 01:00:45 +03:00
|
|
|
|
|
|
|
# Git author used to commit to the repository.
|
|
|
|
# Defaults are shown below.
|
|
|
|
commit_author:
|
|
|
|
name: neilotoole
|
|
|
|
email: neilotoole@apache.org
|
|
|
|
|
|
|
|
# Commit message template.
|
|
|
|
# Defaults to `Update to {{ .Tag }}`.
|
|
|
|
# commit_msg_template: "pkgbuild updates"
|
|
|
|
|
|
|
|
# If you build for multiple GOAMD64 versions, you may use this to choose which one to use.
|
|
|
|
# Defaults to `v1`.
|
|
|
|
# goamd64: v2
|
|
|
|
|
|
|
|
# The value to be passed to `GIT_SSH_COMMAND`.
|
|
|
|
# This is mainly used to specify the SSH private key used to pull/push to
|
|
|
|
# the Git URL.
|
|
|
|
#
|
|
|
|
# Defaults to `ssh -i {{ .KeyPath }} -o StrictHostKeyChecking=accept-new -F /dev/null`.
|
|
|
|
# git_ssh_command: 'ssh -i {{ .Env.AUR_PRIVATE_KEY }} -o StrictHostKeyChecking=accept-new -F /dev/null'
|
|
|
|
# git_ssh_command: 'ssh -i {{ .Env.KEY }} -o SomeOption=yes'
|
|
|
|
|
|
|
|
# Template for the url which is determined by the given Token
|
|
|
|
# (github, gitlab or gitea).
|
|
|
|
#
|
|
|
|
# Default depends on the client.
|
|
|
|
# url_template: "http://github.mycompany.com/foo/bar/releases/{{ .Tag }}/{{ .ArtifactName }}"
|