mirror of
https://github.com/kemko/nomad.git
synced 2026-01-01 16:05:42 +03:00
add LICENSE to release artifacts (#20345)
* add LICENSE(.txt) to zip that goes on releases.hashicorp.com * add LICENSE(.txt) to linux packages and docker image * add some more docker labels (including license)
This commit is contained in:
@@ -114,7 +114,10 @@ pkg/windows_%/nomad: GO_TAGS += timetzdata
|
||||
# Define package targets for each of the build targets we actually have on this system
|
||||
define makePackageTarget
|
||||
|
||||
pkg/$(1).zip: pkg/$(1)/nomad
|
||||
pkg/$(1)/LICENSE.txt:
|
||||
@cp LICENSE pkg/$(1)/LICENSE.txt
|
||||
|
||||
pkg/$(1).zip: pkg/$(1)/nomad pkg/$(1)/LICENSE.txt
|
||||
@echo "==> Packaging for $(1)..."
|
||||
@zip -j pkg/$(1).zip pkg/$(1)/*
|
||||
|
||||
|
||||
Reference in New Issue
Block a user