mirror of
https://github.com/HikariKnight/quickpassthrough
synced 2025-06-28 13:58:02 +02:00
quick update with global version access (#24)
* update for globally accesible version number * update * update * add flag * add flag --------- Co-authored-by: Matt Spurrier <matthew@senseict.com.au> Co-authored-by: HikariKnight <2557889+HikariKnight@users.noreply.github.com>
This commit is contained in:
parent
55bfb36522
commit
1f059e0a96
3 changed files with 12 additions and 8 deletions
|
@ -18,10 +18,9 @@ builds:
|
|||
- linux
|
||||
goarch:
|
||||
- amd64
|
||||
ldflags:
|
||||
- -s -w -X version.Version={{ .Tag }}
|
||||
mod_timestamp: "{{ .CommitTimestamp }}"
|
||||
|
||||
ldflags:
|
||||
- -s -w -X github.com/HikariKnight/quickpassthrough/internal/version.Version={{.Version}}
|
||||
archives:
|
||||
- format: tar.gz
|
||||
# this name template makes the OS and Arch compatible with the results of `uname`.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue