aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar vnugent <public@vaughnnugent.com>2024-06-21 17:06:11 -0400
committerLibravatar vnugent <public@vaughnnugent.com>2024-06-21 17:06:11 -0400
commitf977d561f2ef6353d8f54fbf2466c87cf6456e31 (patch)
tree7dc3a6897bcc6d741052e026582a3eb70709f5dd
parent1da3e983599b81dc9587f060131385a9a63ef1c6 (diff)
set library version on build
-rw-r--r--lib/vnlib.browser/Taskfile.yaml4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/vnlib.browser/Taskfile.yaml b/lib/vnlib.browser/Taskfile.yaml
index 4046432..81b726d 100644
--- a/lib/vnlib.browser/Taskfile.yaml
+++ b/lib/vnlib.browser/Taskfile.yaml
@@ -15,6 +15,10 @@ tasks:
cmds:
- echo "building module {{.MODULE_NAME}}"
+ #update internal package version
+ - cmd: npm version {{.BUILD_VERSION}}
+ ignore_error: true
+
#install dependencies and build
- npm install
- npm run build