mirror of
https://github.com/mudler/luet.git
synced 2025-04-27 11:22:20 +00:00
and add a `version` command that only prints the version (without the build time) Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>
44 lines
1.2 KiB
YAML
44 lines
1.2 KiB
YAML
before:
|
|
hooks:
|
|
- go mod tidy
|
|
dist: release
|
|
source:
|
|
enabled: true
|
|
name_template: '{{ .ProjectName }}-{{ .Tag }}-source'
|
|
checksum:
|
|
name_template: '{{ .ProjectName }}-{{ .Tag }}-checksums.txt'
|
|
builds:
|
|
-
|
|
env:
|
|
- CGO_ENABLED=0
|
|
ldflags:
|
|
- -s -w
|
|
- -X "github.com/mudler/luet/cmd.Version={{ .Summary }}"
|
|
- -X "github.com/mudler/luet/cmd.BuildTime={{ time "2006-01-02 15:04:05 MST" }}"
|
|
goos:
|
|
- linux
|
|
goarch:
|
|
- amd64
|
|
- arm
|
|
- arm64
|
|
- 386
|
|
goarm:
|
|
- 6
|
|
- 7
|
|
archives:
|
|
- format: binary # this removes the tar of the archives, leaving the binaries alone
|
|
name_template: luet-{{ .Tag }}-{{ .Os }}-{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}
|
|
changelog:
|
|
sort: asc
|
|
filters:
|
|
exclude:
|
|
- '^docs:'
|
|
- '^test:'
|
|
- '^Merge pull request'
|
|
release:
|
|
header: |
|
|
Luet is a multi-platform Package Manager based off from containers - it uses Docker (and others) to build packages.
|
|
|
|
It has zero dependencies and it is well suitable for "from scratch" environments.
|
|
It can also version entire rootfs and enables delivery of OTA-alike updates, making it a perfect fit for the Edge computing era and IoT embedded device
|