Replace GoReleaser workflow with custom Release pipeline
Some checks failed
Release / goreleaser (push) Failing after 5m10s
Some checks failed
Release / goreleaser (push) Failing after 5m10s
This commit is contained in:
@@ -1,9 +1,7 @@
|
||||
# This is a GoReleaser configuration file
|
||||
# For more information about configuration options, visit:
|
||||
# This is a GoReleaser configuration file for sshtunnel
|
||||
# Compatible with GoReleaser v1.26.2
|
||||
# https://goreleaser.com/customization/
|
||||
|
||||
version: 2
|
||||
|
||||
before:
|
||||
hooks:
|
||||
- go mod tidy
|
||||
@@ -23,7 +21,6 @@ builds:
|
||||
- -s -w
|
||||
- -X git.mvl.sh/vleeuwenmenno/sshtunnel/cmd.Version={{.Version}}
|
||||
- -X git.mvl.sh/vleeuwenmenno/sshtunnel/cmd.BuildDate={{.Date}}
|
||||
mod_timestamp: "{{ .CommitTimestamp }}"
|
||||
|
||||
archives:
|
||||
- format: tar.gz
|
||||
@@ -53,11 +50,7 @@ changelog:
|
||||
|
||||
# Homebrew formula
|
||||
brews:
|
||||
- repository:
|
||||
owner: vleeuwenmenno
|
||||
name: homebrew-tap
|
||||
token: "{{ .Env.GITHUB_TOKEN }}"
|
||||
directory: Formula
|
||||
- name: sshtunnel
|
||||
homepage: "https://git.mvl.sh/vleeuwenmenno/sshtunnel"
|
||||
description: "SSH tunnel manager CLI tool"
|
||||
license: "MIT"
|
||||
@@ -82,10 +75,8 @@ brews:
|
||||
# .deb and .rpm packages
|
||||
nfpms:
|
||||
- file_name_template: "{{ .ProjectName }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}"
|
||||
id: packages
|
||||
homepage: https://git.mvl.sh/vleeuwenmenno/sshtunnel
|
||||
description: |-
|
||||
SSH tunnel manager CLI tool
|
||||
description: "SSH tunnel manager CLI tool"
|
||||
maintainer: Menno van Leeuwen
|
||||
license: MIT
|
||||
vendor: vleeuwenmenno
|
||||
@@ -98,6 +89,9 @@ nfpms:
|
||||
- bash-completion
|
||||
scripts:
|
||||
postinstall: |
|
||||
mkdir -p /usr/share/bash-completion/completions/
|
||||
mkdir -p /usr/share/zsh/site-functions/
|
||||
mkdir -p /usr/share/fish/vendor_completions.d/
|
||||
sshtunnel completion bash > /usr/share/bash-completion/completions/sshtunnel
|
||||
sshtunnel completion zsh > /usr/share/zsh/site-functions/_sshtunnel
|
||||
sshtunnel completion fish > /usr/share/fish/vendor_completions.d/sshtunnel.fish
|
||||
|
||||
Reference in New Issue
Block a user