diff --git a/.buildkite/deploy.sh b/.buildkite/deploy.sh index 236592ca..f36059ab 100755 --- a/.buildkite/deploy.sh +++ b/.buildkite/deploy.sh @@ -3,13 +3,14 @@ set -euo pipefail # Get the tag version from Buildkite or default to a pre-release tag TAG_VERSION=$(buildkite-agent meta-data get "tag-version" --default "0.0.0-alpha-$(date +%Y%m%d%H%M%S)") -TAG_VERSION=$(TAG_VERSION/v/) +TAG_VERSION=${TAG_VERSION/v/} #setup git # git config user.email "Widen Developers" # git config user.name "widendev@widen.com" # Publish the package +echo "publishing ${TAG_VERSION}" npm publish --tag ${TAG_VERSION} npm version ${TAG_VERSION} --no-git-tag-version