2023-01-20 06:09:47 +00:00
|
|
|
pipeline:
|
|
|
|
build:
|
|
|
|
image: golang:1.19
|
|
|
|
commands:
|
2023-02-28 18:53:58 +00:00
|
|
|
- go mod tidy
|
2023-01-20 06:09:47 +00:00
|
|
|
- go build -o gospt
|
2023-02-28 17:03:34 +00:00
|
|
|
- mkdir completions
|
2023-02-28 17:02:16 +00:00
|
|
|
- ./gospt completion zsh > completions/gospt_zsh
|
|
|
|
- ./gospt completion bash > completions/gospt_bash
|
|
|
|
- ./gospt completion fish > completions/gospt_fish
|
2023-01-21 16:12:15 +00:00
|
|
|
|
|
|
|
publish:
|
2023-02-28 16:11:32 +00:00
|
|
|
image: goreleaser/goreleaser
|
|
|
|
commands:
|
|
|
|
- goreleaser release
|
2023-02-28 16:18:08 +00:00
|
|
|
secrets: [ gitea_token ]
|
2023-01-21 18:42:17 +00:00
|
|
|
when:
|
|
|
|
event: tag
|
2023-03-05 00:14:16 +00:00
|
|
|
publish_aur:
|
|
|
|
image: goreleaser/goreleaser
|
|
|
|
commands:
|
|
|
|
- goreleaser release --config .goreleaseraur.yaml
|
|
|
|
secrets: [ gitea_token ]
|
|
|
|
when:
|
|
|
|
event: tag
|