Skip to content

Commit

Permalink
chore: create latest.tar.gz when packaging (#855)
Browse files Browse the repository at this point in the history
This allows to use that path easily while making changes to the
load test without the need to update the field each time.
  • Loading branch information
fmartingr authored Dec 9, 2024
1 parent a48d4e8 commit 926d209
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 926d209

Please sign in to comment.