Shawn Allen
ba8a03e19a
move CHANGELOG symlink to .travis.yml
2017-07-31 13:52:43 -07:00
Shawn Allen
55047e1733
symlink CHANGELOG.md to primer-css after build success
2017-07-31 13:51:59 -07:00
Shawn Allen
4de1f7152c
don't set $PATH; call npm bins directly
2017-07-31 11:31:11 -07:00
Shawn Allen
ab913f229d
chmod +x, derp
2017-07-28 14:09:04 -07:00
Shawn Allen
9b03481ae3
move lerna publish --yes option to script/after_success
2017-07-28 14:02:15 -07:00
Shawn Allen
533895c7ef
Merge remote-tracking branch 'origin/dev' into shawnbot/travis-deploy
2017-07-28 14:00:11 -07:00
Shawn Allen
5b7d987f2c
simplify script/after_success
2017-07-28 13:55:13 -07:00
Shawn Allen
7525bcbc27
clean up release scripts
2017-07-27 13:26:21 -07:00
Shawn Allen
477945e5a0
reorganize CI release logic
...
- move final release into Travis 'deploy' stage
- move PR and RC release logic into script/after_success
- kill script/cibuild
2017-07-27 13:25:57 -07:00
Shawn Allen
f2abaedc86
jq -r for a good time
2017-07-25 15:39:38 -07:00
Shawn Allen
246688cb29
:finnadie: this should fix it
2017-07-25 15:18:33 -07:00
Shawn Allen
d137b18fea
get the version... derp
2017-07-25 15:00:50 -07:00
Shawn Allen
ab1c157734
clean up cibuild debugging
2017-07-25 15:00:22 -07:00
Shawn Allen
ee51b3f010
swap TRAVIS_BRANCH and TRAVIS_PULL_REQUEST_BRANCH
2017-07-25 14:16:42 -07:00
Shawn Allen
73008f8bb3
bring back TRAVIS_EVENT_TYPE checking
2017-07-25 14:07:29 -07:00
Shawn Allen
25ca2964fb
debug vars
2017-07-25 13:55:53 -07:00
Shawn Allen
f949e58eee
okay, try TRAVIS_PULL_REQUEST_BRANCH...
2017-07-25 13:44:50 -07:00
Shawn Allen
4cb23f6097
check whether TRAVIS_PULL_REQUEST is "false"
2017-07-25 13:37:43 -07:00
Shawn Allen
15f6a1c484
detect PR via TRAVIS_PULL_REQUEST
2017-07-25 13:35:21 -07:00
Shawn Allen
0893571807
don't send pending commit statuses for pr releases
2017-07-25 13:16:54 -07:00
Shawn Allen
680635ac8c
Merge branch 'shawnbot/release-fixes' into shawnbot/no-pr-build
2017-07-25 13:04:16 -07:00
Shawn Allen
2ac8bc3828
add script/try-publish; use in script/release
2017-07-25 12:57:10 -07:00
Shawn Allen
135cc1f9d2
nix --bail flag for release-candidate
2017-07-25 12:56:40 -07:00
Shawn Allen
230c0455c8
don't notify if running locally
2017-07-25 11:58:52 -07:00
Shawn Allen
6a82a15fb1
Merge remote-tracking branch 'origin/dev' into shawnbot/no-pr-build
2017-07-25 11:47:48 -07:00
Shawn Allen
c34ce15f07
move commit status notifications closer to publish
...
Previously, we were reporting pending publish status for whatever
package.json versions were in git. This moves the `notify pending` calls
right before the publish calls so that we can be sure we're always
reporting the version that will be published if it succeeds.
2017-07-25 11:35:52 -07:00
Shawn Allen
bcb43df63f
tweak ci build logic
2017-07-25 10:32:15 -07:00
Shawn Allen
71dad239ad
rejigger cibuild logic for push builds only
2017-07-25 10:23:41 -07:00
Shawn Allen
56a603523c
pass --bail=false to lerna publish to fix #268 ?
2017-07-24 23:10:08 -07:00
Shawn Allen
43724fddb9
possible fix for #263
2017-07-24 23:06:56 -07:00
Shawn Allen
0e5d7905b2
tweak debug message formatting
2017-07-20 17:51:11 -07:00
Shawn Allen
03f4a9f3bd
fix errant warning in RC builds
2017-07-20 17:49:27 -07:00
Shawn Allen
2e811f47e8
don't be so clever about module dirs
2017-07-20 17:42:23 -07:00
Shawn Allen
7af1dfa022
fix branch variable setting
2017-07-20 17:34:17 -07:00
Shawn Allen
6e68955260
fix release branch detection, better errors
2017-07-20 17:28:05 -07:00
Shawn Allen
212cf0f2ce
more script/cibuild tweaks
2017-07-20 17:08:47 -07:00
Shawn Allen
c3913c8791
rejigger script/cibuild logic, add pending commit status
2017-07-20 17:02:11 -07:00
Shawn Allen
69091cb4e8
parameterize script/notify for pending statuses
2017-07-20 17:01:47 -07:00
Shawn Allen
136f0c4a2f
debug some travis env vars
2017-07-20 16:49:22 -07:00
Shawn Allen
7f31717354
use $() instead of backticks
2017-07-20 15:38:14 -07:00
Shawn Allen
b0928f923a
add FIXME comment for module listing
2017-07-20 15:27:51 -07:00
Shawn Allen
080d198018
chmod +x script/notify
2017-07-20 15:27:37 -07:00
Shawn Allen
345049b22e
clean up, add XXX comment
2017-07-20 15:24:04 -07:00
Shawn Allen
7d82e1dcda
don't bail in script/release
2017-07-20 15:22:10 -07:00
Shawn Allen
10e9e732c6
clean up
2017-07-20 15:21:59 -07:00
Shawn Allen
55cd7631e4
extract commit status notification from script/release-pr
2017-07-20 15:21:46 -07:00
Shawn Allen
0c1b3638f4
really publish
2017-07-20 15:00:05 -07:00
Shawn Allen
7696e0fe8c
simplify (no need to bump primer-css separately)
2017-07-20 14:51:46 -07:00
Shawn Allen
e331b63551
first go at release candidate logic
2017-07-20 14:33:14 -07:00
Shawn Allen
cce5dea156
clean up cibuild script, publish RCs on release-* branches
2017-07-20 14:13:49 -07:00
Shawn Allen
9b3e64f00f
add helper script to manually set module versions
2017-07-20 14:13:19 -07:00
Shawn Allen
452deb584c
really run lerna exec, but bail
2017-07-20 14:12:57 -07:00
Shawn Allen
9f009655c9
clean up script/release-pr
2017-07-20 10:36:53 -07:00
Shawn Allen
cdf17a5bfb
rename release-canary => release-pr
2017-07-13 16:36:27 -07:00
Shawn Allen
8142e247f8
use "pr" npm dist-tag
2017-07-13 16:17:36 -07:00
Shawn Allen
fbc5c29a66
chmod +x, duh
2017-07-13 16:15:55 -07:00
Shawn Allen
8d636f65f8
isolate rc and release scripts
2017-07-13 16:11:38 -07:00
Shawn Allen
d8e4ddaf3d
isolate release-canary script for easier testing
2017-07-13 16:09:47 -07:00
Shawn Allen
b9fb9565b3
remove unicode char from status message
2017-07-13 15:25:16 -07:00
Shawn Allen
6325c214ce
tidy up status reporting
2017-07-13 15:15:40 -07:00
Shawn Allen
548772d6d5
try setting TRAVIS_COMMIT inline
2017-07-13 14:55:50 -07:00
Shawn Allen
1b757daaf3
fix typo
2017-07-13 13:52:10 -07:00
Shawn Allen
5c2fb08472
send PR commit status w/canary version
2017-07-13 13:36:17 -07:00
Shawn Allen
b57d5297a1
echo the rc and release commands, just to be safe
2017-07-12 15:23:07 -07:00
Shawn Allen
9991349f9a
add caveat in compare-published
2017-07-12 15:04:38 -07:00
Shawn Allen
c1ad97221f
tidy up compare-published script
2017-07-12 14:36:49 -07:00
Shawn Allen
53ec49609b
add compare-published script
2017-07-12 14:33:30 -07:00
Shawn Allen
92656aa4ec
add a comment to explain why we're passing args
2017-07-12 13:43:31 -07:00
Shawn Allen
0d3f6b7458
rename ci_args to args
2017-07-11 13:09:43 -07:00
Shawn Allen
f40a30c032
get ci_args from argv[1:]
2017-07-11 13:09:27 -07:00
Shawn Allen
03d2e1f221
run all ci release commands with --yes
2017-07-10 15:48:41 -07:00
Shawn Allen
4bb84f88a5
rename deploy => cibuild
2017-07-10 15:31:41 -07:00
Jon Rohan
cf82ee4110
Use travis event type
2017-07-07 20:04:01 -07:00
Jon Rohan
4abd9bdc18
try bash
2017-07-07 19:59:11 -07:00
Jon Rohan
999c6d4372
skipping deploy
2017-07-07 16:00:22 -07:00
Jon Rohan
a4d63922a4
rename to deploy
2017-07-07 15:57:33 -07:00
Jon Rohan
88a0b4e22f
rename to deploy
2017-07-07 15:57:10 -07:00
Shawn Allen
908ab0e336
stub out CI deployment logic
2017-07-07 15:45:04 -07:00
Shawn Allen
2f202820d6
add basic branch logic
2017-07-07 15:22:22 -07:00
Jon Rohan
79cf276d79
Changing permissions on script
2017-07-07 14:48:40 -07:00
Jon Rohan
610e213152
creating a dummy script to avoid failed deploy
2017-07-07 14:45:52 -07:00