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