Compare commits
No commits in common. "main" and "v0.1.0" have entirely different histories.
|
|
@ -90,7 +90,7 @@ jobs:
|
||||||
go install github.com/goreleaser/goreleaser/v2@v2.12.7
|
go install github.com/goreleaser/goreleaser/v2@v2.12.7
|
||||||
- name: Release
|
- name: Release
|
||||||
run: |
|
run: |
|
||||||
goreleaser release -f goreleaser.yml --skip=validate --clean
|
goreleaser release -f macos.goreleaser.yml --skip=validate --clean
|
||||||
env:
|
env:
|
||||||
GITEA_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITEA_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
HOMEBREW_TAP_PRIVATE_KEY: ${{ secrets.HOMEBREW_TAP_PRIVATE_KEY }}
|
HOMEBREW_TAP_PRIVATE_KEY: ${{ secrets.HOMEBREW_TAP_PRIVATE_KEY }}
|
||||||
|
|
@ -99,3 +99,26 @@ jobs:
|
||||||
MACOS_NOTARY_KEY: ${{ secrets.MACOS_NOTARY_KEY }}
|
MACOS_NOTARY_KEY: ${{ secrets.MACOS_NOTARY_KEY }}
|
||||||
MACOS_NOTARY_KEY_ID: ${{ secrets.MACOS_NOTARY_KEY_ID }}
|
MACOS_NOTARY_KEY_ID: ${{ secrets.MACOS_NOTARY_KEY_ID }}
|
||||||
MACOS_NOTARY_ISSUER_ID: ${{ secrets.MACOS_NOTARY_ISSUER_ID }}
|
MACOS_NOTARY_ISSUER_ID: ${{ secrets.MACOS_NOTARY_ISSUER_ID }}
|
||||||
|
|
||||||
|
# release-linux:
|
||||||
|
# needs: build
|
||||||
|
# runs-on: ubuntu-latest
|
||||||
|
# steps:
|
||||||
|
# - name: Checkout
|
||||||
|
# uses: actions/checkout@v2
|
||||||
|
# - name: Setup Go
|
||||||
|
# uses: actions/setup-go@v3
|
||||||
|
# with:
|
||||||
|
# go-version: 1.22
|
||||||
|
# - name: Configure
|
||||||
|
# run: |
|
||||||
|
# git config --global url."https://${{ secrets.GO_MODULES_TOKEN }}:x-oauth-basic@github.com/lmika".insteadOf "https://github.com/lmika"
|
||||||
|
# - name: Release
|
||||||
|
# uses: goreleaser/goreleaser-action@v1
|
||||||
|
# if: startsWith(github.ref, 'refs/tags/')
|
||||||
|
# with:
|
||||||
|
# version: latest
|
||||||
|
# args: release -f linux.goreleaser.yml --skip=validate --clean
|
||||||
|
# env:
|
||||||
|
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
# HOMEBREW_GITHUB_TOKEN: ${{ secrets.HOMEBREW_GITHUB_TOKEN }}
|
||||||
37
linux.goreleaser.yml
Normal file
37
linux.goreleaser.yml
Normal file
|
|
@ -0,0 +1,37 @@
|
||||||
|
builds:
|
||||||
|
- id: ted
|
||||||
|
targets:
|
||||||
|
- windows_amd64
|
||||||
|
- linux_amd64
|
||||||
|
env:
|
||||||
|
- CGO_ENABLED=1
|
||||||
|
main: ./cmd/ted/.
|
||||||
|
binary: dynamo-browse
|
||||||
|
archives:
|
||||||
|
- id: zip
|
||||||
|
builds:
|
||||||
|
- ted
|
||||||
|
wrap_in_directory: true
|
||||||
|
format_overrides:
|
||||||
|
- goos: windows
|
||||||
|
format: zip
|
||||||
|
- goos: linux
|
||||||
|
format: tar.gz
|
||||||
|
nfpms:
|
||||||
|
- id: package_nfpms
|
||||||
|
package_name: audax
|
||||||
|
builds:
|
||||||
|
- ted
|
||||||
|
vendor: lmika
|
||||||
|
homepage: https://ted.lmika.dev/
|
||||||
|
maintainer: Leon Mika <lmika@lmika.org>
|
||||||
|
description: TUI tools for working with CSV files
|
||||||
|
license: MIT
|
||||||
|
formats:
|
||||||
|
- deb
|
||||||
|
- rpm
|
||||||
|
bindir: /usr/local/bin
|
||||||
|
checksum:
|
||||||
|
name_template: 'checksums.txt'
|
||||||
|
snapshot:
|
||||||
|
name_template: "{{ .Tag }}-next"
|
||||||
|
|
@ -1,20 +1,12 @@
|
||||||
version: 2
|
version: 2
|
||||||
|
|
||||||
builds:
|
builds:
|
||||||
- id: ted_macos
|
- id: ted
|
||||||
targets:
|
targets:
|
||||||
- darwin_amd64
|
- darwin_amd64
|
||||||
- darwin_arm64
|
- darwin_arm64
|
||||||
env:
|
env:
|
||||||
- CGO_ENABLED=0
|
- CGO_ENABLED=1
|
||||||
main: .
|
|
||||||
binary: ted
|
|
||||||
- id: ted_linux
|
|
||||||
targets:
|
|
||||||
- linux_amd64
|
|
||||||
- linux_arm64
|
|
||||||
env:
|
|
||||||
- CGO_ENABLED=0
|
|
||||||
main: .
|
main: .
|
||||||
binary: ted
|
binary: ted
|
||||||
|
|
||||||
|
|
@ -22,7 +14,7 @@ notarize:
|
||||||
macos:
|
macos:
|
||||||
- enabled: true
|
- enabled: true
|
||||||
ids:
|
ids:
|
||||||
- ted_macos
|
- ted
|
||||||
sign:
|
sign:
|
||||||
certificate: "{{.Env.MACOS_SIGN_P12}}"
|
certificate: "{{.Env.MACOS_SIGN_P12}}"
|
||||||
password: "{{.Env.MACOS_SIGN_PASSWORD}}"
|
password: "{{.Env.MACOS_SIGN_PASSWORD}}"
|
||||||
|
|
@ -34,15 +26,7 @@ notarize:
|
||||||
timeout: 20m
|
timeout: 20m
|
||||||
|
|
||||||
archives:
|
archives:
|
||||||
- id: macos_tgz
|
- id: tgz
|
||||||
ids:
|
|
||||||
- ted_macos
|
|
||||||
wrap_in_directory: false
|
|
||||||
formats:
|
|
||||||
- tar.gz
|
|
||||||
- id: linux_tgz
|
|
||||||
ids:
|
|
||||||
- ted_linux
|
|
||||||
wrap_in_directory: false
|
wrap_in_directory: false
|
||||||
formats:
|
formats:
|
||||||
- tar.gz
|
- tar.gz
|
||||||
|
|
@ -52,13 +36,10 @@ release:
|
||||||
owner: cmd
|
owner: cmd
|
||||||
name: ted
|
name: ted
|
||||||
ids:
|
ids:
|
||||||
- macos_tgz
|
- tgz
|
||||||
- linux_tgz
|
|
||||||
|
|
||||||
homebrew_casks:
|
homebrew_casks:
|
||||||
- name: ted
|
- name: ted
|
||||||
ids:
|
|
||||||
- ted_macos
|
|
||||||
repository:
|
repository:
|
||||||
owner: casks
|
owner: casks
|
||||||
name: dynamo-browse
|
name: dynamo-browse
|
||||||
Loading…
Reference in a new issue