From 926d20976480898460bd65799d4aa44a0cd29c3b Mon Sep 17 00:00:00 2001 From: Felipe Martin <812088+fmartingr@users.noreply.github.com> Date: Mon, 9 Dec 2024 08:26:20 +0100 Subject: [PATCH] chore: create latest.tar.gz when packaging (#855) This allows to use that path easily while making changes to the load test without the need to update the field each time. --- Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile b/Makefile index 74b1be5ef..eeb282aa8 100644 --- a/Makefile +++ b/Makefile @@ -73,6 +73,8 @@ endif $(eval PACKAGE_NAME=mattermost-load-test-ng-$(DIST_VER)-$(PLATFORM)) cp -r $(PLATFORM_DIST_PATH) $(DIST_PATH)/$(PACKAGE_NAME) tar -C $(DIST_PATH) -czf $(DIST_PATH)/$(PACKAGE_NAME).tar.gz $(PACKAGE_NAME) + rm -rf $(DIST_ROOT)/latest.tar.gz + cp $(DIST_PATH)/$(PACKAGE_NAME).tar.gz $(DIST_ROOT)/latest.tar.gz rm -rf $(DIST_PATH)/$(PACKAGE_NAME) verify-gomod: ## Run go mod verify.