From 89a8ac1cd6e208d774464098bc1ec15bfe10aff1 Mon Sep 17 00:00:00 2001 From: Joseph Phelan Date: Thu, 18 Jan 2024 08:37:04 -0600 Subject: [PATCH] another approach --- .buildkite/deploy.sh | 3 ++- .buildkite/pipeline.yml | 10 +++++----- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/.buildkite/deploy.sh b/.buildkite/deploy.sh index 22a51b58..f56dad40 100755 --- a/.buildkite/deploy.sh +++ b/.buildkite/deploy.sh @@ -10,7 +10,8 @@ git config user.email "Widen Developers" git config user.name "widendev@widen.com" # Publish the package -npm version ${TAG_VERSION} +npm publish --tag ${TAG_VERSION} +npm version ${TAG_VERSION} --no-git-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: diff --git a/.buildkite/pipeline.yml b/.buildkite/pipeline.yml index 82131359..f445dff3 100644 --- a/.buildkite/pipeline.yml +++ b/.buildkite/pipeline.yml @@ -34,11 +34,11 @@ steps: - ACQUIA_JFROG_USER - ACQUIA_JFROG_TOKEN - FORCE_COLOR=true - # - thedyrt/git-commit#v0.3.0: - # message: Auto version - # user: - # name: Widen Developers - # email: widendev@widen.com + - thedyrt/git-commit#v0.3.0: + message: Auto version + user: + name: Widen Developers + email: widendev@widen.com env: NPM_TAG: latest NODE_AUTH_TOKEN: ACQUIA_JFROG_TOKEN