Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Bootstrap tar distribution. #199

Open
wants to merge 3 commits into
base: dev
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 7 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ before_script:
- VERSION="$(node_load_version)"
- if [[ ! -z "$DOCKER_USERNAME" ]] ; then echo "${DOCKER_PASSWORD}" | docker login -u "${DOCKER_USERNAME}" --password-stdin; fi
- log_env_variables
- if ! [ -x "$(command -v aws)" ]; then curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip" ; unzip awscliv2.zip ; sudo ./aws/install ; fi
- aws s3 ls s3://symbol-bootstrap
script:
- npm pack
- npm test
Expand All @@ -37,14 +39,14 @@ jobs:
name: github alpha pages
script: /bin/bash travis/node-functions.sh node_push_github_pages
if: branch = env(DEV_BRANCH) AND type = push
- name: alpha npm
script: npm pack && /bin/bash travis/node-functions.sh node_publish_alpha
- name: alpha npm - s3
script: npm pack && /bin/bash travis/node-functions.sh node_publish_alpha && npm run dist && npm run publish
if: (branch = env(DEV_BRANCH) AND type = push) OR (type = api AND commit_message = alpha)
- stage: release
name: release npm
script: npm pack && /bin/bash travis/node-functions.sh node_publish_release
name: release npm - s3
script: npm pack && /bin/bash travis/node-functions.sh node_publish_release && npm run dist && npm run publish
if: branch = env(RELEASE_BRANCH) AND type = api AND commit_message = env(RELEASE_MESSAGE)
- stage: post release
name: tag and version upgrade
script: npm pack && /bin/bash travis/node-functions.sh node_post_release
script: npm pack && /bin/bash travis/node-functions.sh node_post_release && npm run dist && npm run publish
if: branch = env(RELEASE_BRANCH) AND type = api AND commit_message = env(RELEASE_MESSAGE)
235 changes: 235 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading