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