Files
channels-seerr/bin/publish.sh
Ludovic Ortega 2ecdeb6901 Update bin/publish.sh
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2026-02-15 15:26:10 +01:00

13 lines
259 B
Bash

#!/usr/bin/env bash
set -e
# Check arguments
if [ "$#" -ne 1 ]; then
echo -e "Usage: $0 <version>\n\nExample: $0 1.2.3"
exit 1
fi
# Update package.json, commit the file and create a tag
npm version "$1" -m "chore: update version to v$1" --sign-git-tag