From d0e1edb2c9c264aaf82b1e7a49b0cb47ae6bead1 Mon Sep 17 00:00:00 2001 From: Joseph Phelan Date: Thu, 18 Jan 2024 10:26:31 -0600 Subject: [PATCH] update version logic --- .buildkite/deploy.sh | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.buildkite/deploy.sh b/.buildkite/deploy.sh index d85b4c71..8641592b 100755 --- a/.buildkite/deploy.sh +++ b/.buildkite/deploy.sh @@ -3,9 +3,7 @@ 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=3.16.3 - +TAG_VERSION=${TAG_VERSION/v/} # Publish the package echo "versioning package ${TAG_VERSION}" @@ -13,7 +11,6 @@ npm version ${TAG_VERSION} --no-git-tag-version echo "publishing ${TAG_VERSION}" npm publish --tag tag-${TAG_VERSION} - # Annotate the build with the types version buildkite-agent annotate --style success "Published to \`@widen/react-modal@${TAG_VERSION}\`. Install with the following command: