mirror of
https://github.com/chartjs/Chart.js.git
synced 2024-10-07 04:39:06 +02:00
13 lines
202 B
Bash
Executable File
13 lines
202 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
NPM_TAG="next"
|
|
|
|
if [[ "$VERSION" =~ ^[^-]+$ ]]; then
|
|
echo "Release tag indicates a full release. Releasing as \"latest\"."
|
|
NPM_TAG="latest"
|
|
fi
|
|
|
|
npm publish --tag "$NPM_TAG"
|