Skip to content

Commit

Permalink
update version logic
Browse files Browse the repository at this point in the history
  • Loading branch information
joephela committed Jan 18, 2024
1 parent 8df1669 commit d0e1edb
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions .buildkite/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +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=3.16.3

TAG_VERSION=${TAG_VERSION/v/}

# Publish the package
echo "versioning package ${TAG_VERSION}"
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:
Expand Down

0 comments on commit d0e1edb

Please sign in to comment.