Reconcile Gitea distribution with current alpha behavior and release tooling

Hop-State: A_06FN55REVAR7VQG4BWJBCD8
Hop-Proposal: R_06FN55QTEWKH16NSR59YJYG
Hop-Task: T_06FN3MBF98GWD4NA5PA1RWG
Hop-Attempt: AT_06FN55BQ80H2S8WHNDD24G0
This commit is contained in:
Hop
2026-07-11 12:10:59 -07:00
parent 23a4891099
commit de99aad4d4
28 changed files with 1565 additions and 21 deletions
+71
View File
@@ -0,0 +1,71 @@
version: 2
project_name: hop
builds:
- id: hop
main: ./cmd/hop
binary: hop
env:
- CGO_ENABLED=0
goos:
- darwin
- linux
- windows
goarch:
- amd64
- arm64
goamd64:
- v1
flags:
- -trimpath
ldflags:
- >-
-s -w
-X githop.xyz/hop/hop/internal/hop.Version={{ .Version }}
archives:
- id: release
ids:
- hop
formats:
- tar.gz
format_overrides:
- goos: windows
formats:
- zip
# Stable names keep installer asset lookup deterministic across releases.
name_template: "hop_{{ .Os }}_{{ .Arch }}"
files:
- README.md
- LICENSE*
checksum:
name_template: checksums.txt
algorithm: sha256
gitea_urls:
api: https://githop.xyz/api/v1
download: https://githop.xyz
skip_tls_verify: false
snapshot:
version_template: "{{ incpatch .Version }}-next"
changelog:
sort: asc
filters:
exclude:
- "^docs?:"
- "^test:"
- "^chore:"
- "^ci:"
- "Merge pull request"
- "Merge branch"
release:
gitea:
owner: hop
name: hop
draft: true
prerelease: auto