mirror of https://github.com/docker/compose.git
packaging: Add EULA
Signed-off-by: Chris Crone <christopher.crone@docker.com>
This commit is contained in:
parent
c549d85505
commit
2aea82a7c6
|
@ -1,3 +1,4 @@
|
||||||
.git/
|
.git/
|
||||||
bin/
|
bin/
|
||||||
|
dist/
|
||||||
tests/node-client/node_modules/
|
tests/node-client/node_modules/
|
||||||
|
|
|
@ -25,10 +25,10 @@ jobs:
|
||||||
${{ runner.os }}-go-
|
${{ runner.os }}-go-
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
run: make -f builder.Makefile cross
|
run: make -f builder.Makefile package
|
||||||
|
|
||||||
- uses: ncipollo/release-action@v1
|
- uses: ncipollo/release-action@v1
|
||||||
with:
|
with:
|
||||||
artifacts: "bin/*"
|
artifacts: "dist/*"
|
||||||
prerelease: true
|
prerelease: true
|
||||||
token: ${{ secrets.GITHUB_TOKEN }}
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
|
@ -1 +1,2 @@
|
||||||
bin/
|
bin/
|
||||||
|
dist/
|
||||||
|
|
|
@ -37,6 +37,11 @@ ifdef BUILD_TAGS
|
||||||
TAGS=-tags $(BUILD_TAGS)
|
TAGS=-tags $(BUILD_TAGS)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
TAR_TRANSFORM:=--transform s/packaging/docker/ --transform s/bin/docker/
|
||||||
|
ifneq ($(findstring bsd,$(shell tar --version)),)
|
||||||
|
TAR_TRANSFORM=-s /packaging/docker/ -s /bin/docker/
|
||||||
|
endif
|
||||||
|
|
||||||
all: cli
|
all: cli
|
||||||
|
|
||||||
.PHONY: protos
|
.PHONY: protos
|
||||||
|
@ -73,3 +78,9 @@ check-license-headers:
|
||||||
check-go-mod:
|
check-go-mod:
|
||||||
./scripts/validate/check-go-mod
|
./scripts/validate/check-go-mod
|
||||||
|
|
||||||
|
.PHONY: package
|
||||||
|
package: cross
|
||||||
|
mkdir -p dist
|
||||||
|
tar -czf dist/docker-linux-amd64.tar.gz $(TAR_TRANSFORM) packaging/LICENSE $(BINARY)-linux-amd64
|
||||||
|
tar -czf dist/docker-darwin-amd64.tar.gz $(TAR_TRANSFORM) packaging/LICENSE $(BINARY)-darwin-amd64
|
||||||
|
rm -f dist/docker-windows-amd64.zip && zip dist/docker-windows-amd64.zip -j packaging/LICENSE $(BINARY)-windows-amd64.exe
|
||||||
|
|
|
@ -0,0 +1,2 @@
|
||||||
|
The Docker End User License Agreement (https://www.docker.com/legal/docker-software-end-user-license-agreement) describes Docker's Terms for this software.
|
||||||
|
By downloading, accessing, or using this software you expressly accept and agree to the Terms set out in the Docker End User License Agreement.
|
Loading…
Reference in New Issue