docs: Document release process & reformat .travis.yml (#1541)
* style: re-format travis config for readability * docs: document npm release process Still needs GitHub release/change-log steps (I've never done it though)
This commit is contained in:
parent
bcaeadf23c
commit
d6a00831a0
2 changed files with 44 additions and 7 deletions
17
.travis.yml
17
.travis.yml
|
|
@ -28,16 +28,19 @@ after_success:
|
|||
# Only want to commit when building a push on whatever $BRANCH is
|
||||
if [ "$TRAVIS_EVENT_TYPE" == "push" ] && \
|
||||
[ "$TRAVIS_BRANCH" == "$BRANCH" ] && \
|
||||
[ "$TRAVIS_REPO_SLUG" == "$REPO" ]; then
|
||||
[ "$TRAVIS_REPO_SLUG" == "$REPO" ]
|
||||
then
|
||||
# Set up SSH environment
|
||||
$(npm bin)/set-up-ssh --key "$encrypted_8b86e0359d64_key" \
|
||||
--iv "$encrypted_8b86e0359d64_iv" \
|
||||
--path-encrypted-key "./.deploy.enc"
|
||||
$(npm bin)/set-up-ssh \
|
||||
--key "$encrypted_8b86e0359d64_key" \
|
||||
--iv "$encrypted_8b86e0359d64_iv" \
|
||||
--path-encrypted-key "./.deploy.enc"
|
||||
|
||||
# Commit changes (if there were any) from running build earlier
|
||||
$(npm bin)/commit-changes --commands "echo committing" \
|
||||
--commit-message "Bundled output for commit $TRAVIS_COMMIT [skip ci]" \
|
||||
--branch "$BRANCH"
|
||||
$(npm bin)/commit-changes \
|
||||
--commands "echo committing" \
|
||||
--commit-message "Bundled output for commit $TRAVIS_COMMIT [skip ci]" \
|
||||
--branch "$BRANCH"
|
||||
else
|
||||
echo "Not submitting build artifacts"
|
||||
fi
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue