We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4fd0939 commit fa592aeCopy full SHA for fa592ae
Makefile
@@ -3,6 +3,10 @@ BRANCH := $(shell sh -c 'git rev-parse --abbrev-ref HEAD')
3
COMMIT := $(shell sh -c 'git rev-parse --short HEAD')
4
DOCKER := $(shell which docker)
5
DOCKER_IMAGE := docker-registry:5000/actiontech/universe-compiler
6
+
7
+PROJECT_NAME = udup
8
+VERSION = 9.9.9.9
9
10
ifdef GOBIN
11
PATH := $(GOBIN):$(PATH)
12
else
@@ -65,4 +69,7 @@ fmt:
65
69
docker_rpm:
66
70
$(DOCKER) run -v $(shell pwd)/:/universe/src/udup --rm $(DOCKER_IMAGE) -c "cd /universe/src/udup; GOPATH=/universe make prepare package"
67
71
72
+upload:
73
+ curl -T $(shell pwd)/dist/*.rpm -u admin:ftpadmin ftp://release-ftpd/actiontech-${PROJECT_NAME}/qa/${VERSION}/${PROJECT_NAME}-${VERSION}-qa.x86_64.rpm
74
68
75
.PHONY: test-short vet fmt build default
0 commit comments