From 8e6f08e0d4864ca54f6632e0ed3cd50b86dda67b Mon Sep 17 00:00:00 2001 From: Duddino Date: Mon, 8 Apr 2024 13:38:48 +0200 Subject: [PATCH] Add tag to makefile --- Makefile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 643e565..7a2785b 100644 --- a/Makefile +++ b/Makefile @@ -1,3 +1,5 @@ +TAG?=latest + .PHONY: all all: pkg pkg_multicore js/pivx_shield.js js/README.md @@ -26,9 +28,9 @@ js/node_modules: js/package.json .PHONY: publish publish: all - cd pkg; npm publish - cd pkg_multicore; npm publish - cd js; npm publish + cd pkg; npm publish --tag $(TAG) + cd pkg_multicore; npm publish --tag $(TAG) + cd js; npm publish --tag $(TAG) .PHONE: pack pack: all