1
1
mirror of https://github.com/primer/css.git synced 2024-12-28 00:24:36 +03:00
Commit Graph

384 Commits

Author SHA1 Message Date
Shawn Allen
484c12e800 do more stuff 2019-01-28 16:40:39 -08:00
Shawn Allen
7830f3cc6e reset tools, too 2019-01-28 16:40:39 -08:00
Shawn Allen
c9451433fd replace primer/primer with primer/css in tools 2019-01-28 16:40:39 -08:00
Shawn Allen
eb22533b0e just delete the source module directory 2019-01-28 16:40:39 -08:00
Shawn Allen
bbf7c05faf move lib/* up a directory 2019-01-28 16:40:39 -08:00
Shawn Allen
3b7820cc82 clean up script/reorg 2019-01-28 16:40:39 -08:00
Shawn Allen
e07c5cc6a9 fold reorg-reset into script/reorg 2019-01-28 16:40:39 -08:00
Shawn Allen
9270e09042 add --help and --dry-run flags to script/reorg 2019-01-28 16:40:39 -08:00
Shawn Allen
097a211900 move reset stuff from script/reorg => script/reorg-reset 2019-01-28 16:40:39 -08:00
Shawn Allen
c7b461f751 don't exit 2019-01-28 16:40:39 -08:00
Shawn Allen
a7f8df07b0 add script to reorganize the monorepo 2019-01-28 16:40:39 -08:00
Shawn Allen
3ecdc6e4bb ci: tweak docs pending commit status 2019-01-25 15:17:12 -08:00
Shawn Allen
2be44f23cc Revert "ci: add branch + version metadata to docs deployments"
This reverts commit 5a78e62dc0.
2019-01-24 11:27:56 -08:00
Shawn Allen
80c32bd241 ci: abbreviate commit status per #518 2019-01-24 11:03:46 -08:00
Shawn Allen
5a78e62dc0 ci: add branch + version metadata to docs deployments 2019-01-24 10:57:01 -08:00
Shawn Allen
642d7fa90b test: add script/selector-diff-report 2019-01-23 15:31:51 -08:00
Shawn Allen
a158835bd0 print the working dir in script/notify 2019-01-22 14:36:56 -08:00
Shawn Allen
d729bf6235 only check links if CHECK_LINKS=1 2019-01-17 15:01:18 -08:00
Shawn Allen
0bc0eeca45
ci: don't check links on Travis
...unless "[check-links]" is in the commit message
2019-01-17 14:47:22 -08:00
Shawn Allen
7941d5378d ci: don't check links on Travis 2019-01-15 11:50:07 -08:00
Shawn Allen
a5658d306f docs: alias docs to now.json "alias" field on master 2019-01-15 11:37:21 -08:00
Shawn Allen
0efd5d919c fix up the call in link check error message [skip ci] 2019-01-11 14:29:22 -08:00
Shawn Allen
b9051853fb run check-links with: -v -m=5 for more detail + speed 2019-01-11 14:29:22 -08:00
Shawn Allen
445dd94f31 do the primer.css copy in prebuild, not deploy-docs 2019-01-11 14:29:22 -08:00
Shawn Allen
b27c56d591 fail builds with broken links 2019-01-11 14:29:22 -08:00
Shawn Allen
0164e948ac tweak how link checker is run in Travis 2019-01-11 14:29:22 -08:00
Shawn Allen
1027a23113 run script/check-links after deploying docs 2019-01-11 14:29:22 -08:00
Shawn Allen
87d68cd4fb run the link checker after deploying docs 2019-01-11 14:29:22 -08:00
Shawn Allen
36125bde54 tidy up docs commit status text 2019-01-08 13:38:49 -08:00
Shawn Allen
f3a4f1a028 deploy docs after releasing 2019-01-08 13:38:38 -08:00
Shawn Allen
93f4e15229 Fix compare-published for private package (docs) 2019-01-07 16:03:15 -08:00
Shawn Allen
eb2780e64e fix path to script/try-publish 2019-01-07 15:38:55 -08:00
Shawn Allen
5c2719f869 add back bump script 2019-01-07 14:58:32 -08:00
Shawn Allen
da3ba6a1b6 pass args through in script/release-candidate 2019-01-07 14:34:20 -08:00
Shawn Allen
2ab362a3fe use the travis branch env vars 2019-01-07 14:09:00 -08:00
Shawn Allen
c09bf292c1 simplify travis deployment config w/deploy script 2019-01-07 13:48:45 -08:00
Shawn Allen
d9b3997c52 move release-pr conditions back to the script again 2019-01-07 13:40:31 -08:00
Shawn Allen
7324c66fd0 simplify release-pr logic again 2019-01-07 13:27:02 -08:00
Shawn Allen
0bc4102b68 echo out the release-pr branch 2019-01-07 13:13:56 -08:00
Shawn Allen
d9c365a1f9 write primer-version.txt instead of VERSION (because Lerna) 2019-01-04 15:18:57 -08:00
Shawn Allen
955f170cb8 tighten up deploy commit statuses 2019-01-04 13:48:24 -08:00
Shawn Allen
0b0648ab5d nix happy-new-year script 2019-01-04 13:07:03 -08:00
Shawn Allen
e7877054c4 move lerna-changelog back into release-candidate 2019-01-04 11:59:00 -08:00
Shawn Allen
68718b7f67 post a pending commit status for docs deployment 2019-01-04 11:56:03 -08:00
Shawn Allen
1b177abe7b move script/release-pr to deploy stage 2019-01-04 11:30:57 -08:00
Shawn Allen
d0074b010a don't run generate-changelog on master releases 2019-01-04 11:29:42 -08:00
Shawn Allen
af3a3185f9 nix script/after_success 2019-01-04 11:26:11 -08:00
Shawn Allen
3dc61a4ec4 only update primer version in docs on mismatch 2019-01-04 11:12:35 -08:00
Shawn Allen
9538cf98b2 add script/happy-new-year 2019-01-04 11:02:37 -08:00
Shawn Allen
f3539dccee only get the primer version from VERSION if it exists 2019-01-04 10:40:04 -08:00
Shawn Allen
5efe7b38d5 write published primer version to /VERSION, use that 2019-01-04 10:40:04 -08:00
Shawn Allen
0935b47688 update the docs primer dependency version manually 2019-01-04 10:40:04 -08:00
Shawn Allen
290f87711e fix script/get-packages 2019-01-04 10:40:04 -08:00
Shawn Allen
924a9758f6 add --dry-run support to script/release-candidate 2019-01-04 10:34:53 -08:00
Shawn Allen
46d8fd945b add standalone pre-release check script 2019-01-04 10:34:53 -08:00
Shawn Allen
85a1ea5aa1 clean up release scripts; separte out changelog script 2019-01-04 10:34:53 -08:00
Shawn Allen
487d98beb1 just do lerna publish --canary for release candidates 2019-01-04 10:34:53 -08:00
Shawn Allen
330d180e36 tidy up release-candidate script again 2019-01-04 10:34:54 -08:00
Shawn Allen
f94b5b255d don't exclude docs from getPackages() 2019-01-04 10:34:53 -08:00
Shawn Allen
419841eac6 only publish non-private packages 2019-01-04 10:34:53 -08:00
Shawn Allen
5e85cb9f54 use dashes instead of underscores in branch alias 2019-01-04 10:34:53 -08:00
Shawn Allen
b445ecd3a3 sanitize dots in branch names 2018-12-21 14:39:39 -08:00
Shawn Allen
b97a1af4d8 move docs build to Travis deploy stage 2018-12-21 14:39:20 -08:00
Shawn Allen
cb1a385897 exclude private packages in getPackages() 2018-12-21 14:29:50 -08:00
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