Skip to content

Commit 80fb2d6

Browse files
committed
fix distribution creation command
1 parent 49bd727 commit 80fb2d6

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ build-and-push-platform-api-multiarch: ## Build and push platform-api Docker ima
108108
package-event-gateway: ## Package event gateway as a self-contained zip (wso2apip-event-gateway-<version>.zip)
109109
@echo "Packaging event gateway $(EVENT_GATEWAY_VERSION)..."
110110
@STAGE=$$(mktemp -d) && \
111-
DIST="$$STAGE/event-gateway" && \
111+
DIST="$$STAGE/wso2apip-event-gateway-$(EVENT_GATEWAY_VERSION)" && \
112112
mkdir -p \
113113
"$$DIST/configs/gateway-controller" \
114114
"$$DIST/configs/event-gateway" \
@@ -121,7 +121,7 @@ package-event-gateway: ## Package event gateway as a self-contained zip (wso2api
121121
cp gateway/gateway-controller/listener-certs/default-listener.crt "$$DIST/listener-certs/" && \
122122
cp gateway/gateway-controller/listener-certs/default-listener.key "$$DIST/listener-certs/" && \
123123
cp event-gateway/docker-compose.yaml "$$DIST/docker-compose.yaml" && \
124-
cd "$$STAGE" && zip -r "$(CURDIR)/wso2apip-event-gateway-$(EVENT_GATEWAY_VERSION).zip" event-gateway/ && \
124+
cd "$$STAGE" && zip -r "$(CURDIR)/wso2apip-event-gateway-$(EVENT_GATEWAY_VERSION).zip" wso2apip-event-gateway-$(EVENT_GATEWAY_VERSION)/ && \
125125
rm -rf "$$STAGE"
126126
@echo "Created: wso2apip-event-gateway-$(EVENT_GATEWAY_VERSION).zip"
127127

0 commit comments

Comments
 (0)