Shawn Allen
e1bc134359
tidier
2018-12-21 14:29:37 -08:00
Shawn Allen
da3f5ac1c8
whitespace
2018-12-21 14:28:23 -08:00
Shawn Allen
e941cdf401
exclude private packages from rc versioning
2018-12-21 13:41:38 -08:00
Shawn Allen
9b4caa84a0
do branch urls better, derp
2018-12-21 13:19:12 -08:00
Shawn Allen
0e90ca80cf
use the pr branch in now alias
2018-12-21 13:17:17 -08:00
Shawn Allen
6e6954679d
fix prefix branch alias url with https://
2018-12-21 12:14:21 -08:00
Shawn Allen
97cbe9d9f8
update the commit status url to the branch alias
2018-12-21 11:12:11 -08:00
Shawn Allen
ac4ad256da
alias the deployment to primer-css-$TRAVIS_BRANCH
2018-12-21 11:06:57 -08:00
Shawn Allen
6108e0c9ed
npm run sync manually (not prepare)
2018-12-17 15:26:50 -08:00
Shawn Allen
ff8d0cbbce
run prepare in docs dir before deploying
2018-12-17 15:26:50 -08:00
Shawn Allen
176744b28e
tweak deploy commit status
2018-12-17 15:26:50 -08:00
Shawn Allen
d7a8e7b03e
copy primer css build in script/build-docs
2018-12-17 15:26:50 -08:00
Shawn Allen
511d7aaaec
tweak commit-status args
2018-12-17 15:26:50 -08:00
Shawn Allen
7a99f8257b
run now + commit-status via npx
2018-12-17 15:26:50 -08:00
Shawn Allen
2700bd6a90
deploy it!
2018-12-17 15:26:50 -08:00
Shawn Allen
77be5e686b
simplify script/build-docs
2018-12-17 15:26:09 -08:00
Shawn Allen
f66aed2d5a
build docs on Travis :fingers_crossed:
2018-12-17 15:26:09 -08:00
Shawn Allen
2a0c3ca944
nix unused script/bump-rc
2018-11-13 15:59:06 -08:00
Shawn Allen
818efd1ad8
fix up script/check-versions
2018-11-13 15:23:19 -08:00
Shawn Allen
e90c0a78f0
go back to implied --since=master
2018-10-23 10:03:48 -07:00
Shawn Allen
ff22d1ac70
tell lerna exactly which version we're comparing
2018-10-23 09:52:21 -07:00
Shawn Allen
882ff75550
remove --since=master from lerna updated
2018-10-23 09:38:22 -07:00
Shawn Allen
2a84a10331
publish dry-run to debug version issues
2018-10-23 09:31:40 -07:00
Jon Rohan
79856df0ea
Adding user details to storybook publish script
2018-07-03 11:21:41 -07:00
Jon Rohan
1417f1298f
Using .git
2018-07-03 11:03:43 -07:00
Jon Rohan
44bc26ef3c
Remove silent, exit if gh_token isn't present
2018-07-03 10:27:31 -07:00
Jon Rohan
ad61fd143a
Don't fail
2018-07-03 10:22:36 -07:00
Jon Rohan
a74cf010dc
Log so we're not hella failing
2018-07-03 10:16:20 -07:00
Jon Rohan
ca6e160395
Creating a node script to publish
2018-07-03 10:14:07 -07:00
Jon Rohan
e18a29f00a
Creating a node script to publish
2018-07-03 10:14:03 -07:00
Jon Rohan
d5e8c573a8
Merge branch 'release-10.7.0' into multi_status
2018-06-28 16:28:08 -07:00
Jon Rohan
ce54470e5a
Modifying notify script to publish from each package
2018-06-28 15:54:13 -07:00
Jon Rohan
2b5ec9b600
Merge pull request #515 from primer/auto_storybook
...
Auto publish storybook
2018-06-28 12:56:51 -07:00
Jon Rohan
e815e94a7f
Remove test
2018-06-28 12:36:23 -07:00
Jon Rohan
20cad391f2
token
2018-06-28 12:25:06 -07:00
Jon Rohan
0e0c5735ce
Adding user
2018-06-28 12:14:36 -07:00
Jon Rohan
9cd3522c10
Silent
2018-06-28 12:02:01 -07:00
Jon Rohan
66f4e4954f
Trying the token already there
2018-06-28 11:06:22 -07:00
Jon Rohan
55fe516860
Auto publish storybook
2018-06-28 10:47:30 -07:00
Jon Rohan
34b35e4cd8
Updating the docs to account for deleting the dev branch
2018-06-25 15:07:55 -07:00
Shawn Allen
ccfd033b8a
update all change dependants in script/release-candidate
2018-06-19 12:26:03 -07:00
Shawn Allen
138c49f5fc
Merge branch 'dev' into import-primer-module-build
2018-05-09 11:49:13 -07:00
Shawn Allen
ab9cc3e0ea
pass args through to ava from script/test-docs
2018-05-03 15:15:05 -07:00
Shawn Allen
54559192cb
use npx; claim tool dependencies as "*"
2018-04-27 16:30:14 -07:00
Jon Rohan
fd32b1c12b
Need to output the result
2017-11-10 09:10:38 -08:00
Jon Rohan
83ddb97963
Adding lerna-changelog to release-candidate script
2017-11-10 09:01:00 -08:00
Jon Rohan
047e904b64
Merge pull request #396 from primer/new_changelog_style
...
Using lerna-changelog to generate a changelog
2017-11-10 08:46:17 -08:00
Jon Rohan
7baafafa0f
some emoji to be safe
2017-11-09 16:47:07 -08:00
Jon Rohan
0d415fee15
Adding lerna-changelog to travis output
2017-11-09 16:46:12 -08:00
Jon Rohan
a26b42d0f8
Can't check for primer-
anymore
2017-11-09 09:50:04 -08:00
Jon Rohan
fdabbb6ea0
Renaming primer-css to primer
2017-11-09 09:41:18 -08:00
Jon Rohan
1f9ada99af
Publish alpha release any time we're not on a release branch or master
2017-11-02 12:32:22 -07:00
Jon Rohan
4df2cf43f8
Adding a test to check for the current year in the license and source header
2017-10-27 11:25:09 -07:00
Jon Rohan
880f89f811
fail safely on rc
2017-10-24 15:33:35 -07:00
Jon Rohan
e7e243d373
Using status here
2017-10-23 14:24:41 -07:00
Shawn Allen
9fef0d2ad2
Merge branch 'release-9.6.0' into better-rc
2017-10-11 21:58:51 -07:00
Shawn Allen
21d19f030f
update compare-published to work w/multiple module dirs
2017-10-11 21:47:54 -07:00
Shawn Allen
db7474c370
just put objects in the changed Set
2017-10-11 21:20:50 -07:00
Shawn Allen
0883140ee7
pass env vars to script/notify
2017-10-11 21:15:55 -07:00
Shawn Allen
2a44a633fb
really publish to npm
2017-10-11 21:14:23 -07:00
Shawn Allen
7413bcf713
add commit status notifications
2017-10-11 21:07:27 -07:00
Shawn Allen
b19312598c
add check for missing primer-css dependencies
2017-10-11 17:07:11 -07:00
Shawn Allen
34bac11462
clean up on check-imports
2017-10-11 17:00:09 -07:00
Shawn Allen
fdd90eb9e5
cleaner output
2017-10-11 16:02:00 -07:00
Shawn Allen
88b154704a
add script to check that imports match dependencies
2017-10-11 15:58:29 -07:00
Shawn Allen
07a6560686
add version check script
2017-10-10 21:28:45 -07:00
Shawn Allen
053c9f167d
Merge branch 'master' into release-9.6.0
2017-10-10 20:50:05 -07:00
Shawn Allen
6153ae9ed1
move generator-primer-module to /tools/
2017-10-10 11:50:55 -07:00
Shawn Allen
bcf156cfb2
a new suite of RC tools
2017-10-10 11:41:41 -07:00
Shawn Allen
99dc990615
move generator-primer-module to /tools/
2017-10-09 23:09:04 -07:00
Shawn Allen
c81a3c3a39
alphanumeric semver sorting is dumb; just get the last one
2017-09-26 11:49:44 -05:00
Shawn Allen
e4c51b2589
semver is dumb
2017-09-26 11:40:59 -05:00
Shawn Allen
c822a227fc
match all modules 🤦
2017-09-26 11:26:33 -05:00
Shawn Allen
80e2bfc178
fix the publish tag
2017-09-25 15:04:25 -05:00
Shawn Allen
c5d61a499f
don't exit form script/release-candidate
2017-09-25 15:00:39 -05:00
Shawn Allen
ecea6f6c0f
use bump-rc script for each module
2017-09-22 16:02:48 -07:00
Shawn Allen
bc9a4a2e7e
nicer output
2017-09-22 16:02:38 -07:00
Shawn Allen
b36b5a53ee
add per-module RC bump script
2017-09-22 15:43:44 -07:00
Shawn Allen
bebb56ba4a
Revert "Merge branch 'dev' into master"
...
This reverts commit e15e1fdcaf
, reversing
changes made to b0099723c7
.
2017-09-20 21:21:19 -07:00
Shawn Allen
b58ab1019a
nix set-json utility
2017-09-08 16:45:50 -07:00
Shawn Allen
57aa5ee89e
add helper scripts for top-level deps
...
and write JSON with a newline
2017-09-08 13:46:44 -07:00
Shawn Allen
91e9bb7412
add --copy option to copy keys from other files
2017-09-08 13:04:40 -07:00
Shawn Allen
f86d9fc0e9
add set-json utility
2017-09-08 12:48:15 -07:00
Shawn Allen
4128fd2de0
short-circuit other stuff for --help
2017-09-07 11:58:55 -07:00
Shawn Allen
ebd24a8433
add new, improved script for new module bootstrapping
2017-09-07 11:38:38 -07:00
Shawn Allen
99ea8c246b
add a note about not notifying
2017-08-09 15:51:35 -07:00
Shawn Allen
a318de1635
don't notify pending
2017-08-09 15:23:03 -07:00
Shawn Allen
f57014d6f2
whoops, nix --canary arg value
2017-08-09 15:21:58 -07:00
Shawn Allen
49b320d3ff
publish exact canary versions
2017-08-09 15:13:39 -07:00
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