Skip to content

Commit 7d16676

Browse files
authored
Merge pull request #1259 from joseph-v/fixmake
Update Makefile with distribution target
2 parents 46daf28 + fecbc66 commit 7d16676

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ DIST_DIR := $(BASE_DIR)/build/dist
1818
VERSION ?= $(shell git describe --exact-match 2> /dev/null || \
1919
git describe --match=$(git rev-parse --short=8 HEAD) \
2020
--always --dirty --abbrev=8)
21-
BUILD_TGT := opensds-hotpot-$(VERSION)-linux-amd64
21+
BUILD_TGT := soda-api-$(VERSION)-linux-amd64
2222

2323
all: build
2424

@@ -75,6 +75,7 @@ dist: build
7575
mkdir $(BUILD_TGT) && \
7676
cp -r $(BUILD_DIR)/bin $(BUILD_TGT)/ && \
7777
cp $(BASE_DIR)/LICENSE $(BUILD_TGT)/ && \
78+
cp $(BASE_DIR)/openapi-spec/swagger.yaml $(BUILD_TGT)/ && \
7879
zip -r $(DIST_DIR)/$(BUILD_TGT).zip $(BUILD_TGT) && \
7980
tar zcvf $(DIST_DIR)/$(BUILD_TGT).tar.gz $(BUILD_TGT) && \
8081
tree \

0 commit comments

Comments
 (0)