forked from reactjs/react-modal
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
2 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 "[email protected]" | ||
|
||
# Publish the package | ||
echo "publishing ${TAG_VERSION}" | ||
npm publish --tag ${TAG_VERSION} | ||
npm version ${TAG_VERSION} --no-git-tag-version | ||
|
||
|