diff --git a/.github/canary.sh b/.github/canary.sh new file mode 100755 index 000000000..e0baffe6d --- /dev/null +++ b/.github/canary.sh @@ -0,0 +1,9 @@ +#!/usr/bin/env bash +npm --no-git-tag-version version minor || true + +version=$(node -p "require('./package.json').version") +canary_date=$(date +'%Y%m%dT%H%M%S') +canary_version=$(echo $version'-canary.'$canary_date) + +echo "Version that will be published: $canary_version" +npm --no-git-tag-version version $canary_version || true