details: https://code.tryton.org/tools/maintenance/commit/dd02cc144563
branch: default
user: Cédric Krier <[email protected]>
date: Wed Feb 18 19:00:02 2026 +0100
description:
Tag npm packages with the series number
npm forbid to implicitly apply the "latest" tag if previously published
version
is higher.
diffstat:
do_major_release | 2 +-
do_minor_release | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diffs (24 lines):
diff -r dea71688cae7 -r dd02cc144563 do_major_release
--- a/do_major_release Sun Jan 25 12:19:00 2026 +0100
+++ b/do_major_release Wed Feb 18 19:00:02 2026 +0100
@@ -142,7 +142,7 @@
if ! ${test}; then
echo "publish"
- npm publish --otp "$($TRYTON_NPM_OTP)"
+ npm publish --otp "$($TRYTON_NPM_OTP)" --tag "series-${series}"
fi
echo "sign archive"
diff -r dea71688cae7 -r dd02cc144563 do_minor_release
--- a/do_minor_release Sun Jan 25 12:19:00 2026 +0100
+++ b/do_minor_release Wed Feb 18 19:00:02 2026 +0100
@@ -109,7 +109,7 @@
if ! ${test}; then
echo "publish"
- npm publish --otp "$($TRYTON_NPM_OTP)"
+ npm publish --otp "$($TRYTON_NPM_OTP)" --tag "series-${series}"
fi
echo "sign archive"