Skip to content

Commit ea6a3b2

Browse files
author
Robert Jackson
authored
Merge pull request #15 from ember-codemods/update-release-setup
Update automated release setup.
2 parents df5bef6 + 1e8fda6 commit ea6a3b2

File tree

3 files changed

+190
-23
lines changed

3 files changed

+190
-23
lines changed

RELEASE.md

Lines changed: 14 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -30,34 +30,29 @@ When reviewing merged PR's the labels to be used are:
3030

3131
Once the prep work is completed, the actual release is straight forward:
3232

33-
* First ensure that you have `release-it` installed globally, generally done by
34-
using one of the following commands:
33+
* First, ensure that you have installed your projects dependencies:
3534

3635
```
37-
# using https://volta.sh
38-
volta install release-it
36+
yarn install
37+
```
3938

40-
# using Yarn
41-
yarn global add release-it
39+
* Second, ensure that you have obtained a
40+
[GitHub personal access token][generate-token] with the `repo` scope (no
41+
other permissions are needed). Make sure the token is available as the
42+
`GITHUB_AUTH` environment variable.
4243

43-
# using npm
44-
npm install --global release-it
45-
```
44+
For instance:
4645

47-
* Second, ensure that you have installed your projects dependencies:
46+
```bash
47+
export GITHUB_AUTH=abc123def456
48+
```
4849

49-
```
50-
yarn install
51-
```
50+
[generate-token]: https://github.com/settings/tokens/new?scopes=repo&description=GITHUB_AUTH+env+variable
5251

53-
* And last (but not least 😁) do your release. It requires a
54-
[GitHub personal access token](https://github.com/settings/tokens) as
55-
`$GITHUB_AUTH` environment variable. Only "repo" access is needed; no "admin"
56-
or other scopes are required.
52+
* And last (but not least 😁) do your release.
5753

5854
```
59-
export GITHUB_AUTH="f941e0..."
60-
release-it
55+
npx release-it
6156
```
6257

6358
[release-it](https://github.com/release-it/release-it/) manages the actual

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
"fixturify": "^1.0.1",
4040
"mocha": "^6.1.1",
4141
"recast": "^0.19.1",
42-
"release-it": "^13.6.0",
42+
"release-it": "^13.6.5",
4343
"release-it-lerna-changelog": "^2.3.0"
4444
},
4545
"publishConfig": {

yarn.lock

Lines changed: 175 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -599,6 +599,14 @@
599599
"@octokit/types" "^5.0.0"
600600
deprecation "^2.3.1"
601601

602+
"@octokit/[email protected]":
603+
version "4.1.2"
604+
resolved "https://registry.yarnpkg.com/@octokit/plugin-rest-endpoint-methods/-/plugin-rest-endpoint-methods-4.1.2.tgz#546a8f3e0b514f434a4ad4ef926005f1c81a5a5a"
605+
integrity sha512-PTI7wpbGEZ2IR87TVh+TNWaLcgX/RsZQalFbQCq8XxYUrQ36RHyERrHSNXFy5gkWpspUAOYRSV707JJv6BhqJA==
606+
dependencies:
607+
"@octokit/types" "^5.1.1"
608+
deprecation "^2.3.1"
609+
602610
"@octokit/request-error@^2.0.0":
603611
version "2.0.2"
604612
resolved "https://registry.yarnpkg.com/@octokit/request-error/-/request-error-2.0.2.tgz#0e76b83f5d8fdda1db99027ea5f617c2e6ba9ed0"
@@ -632,13 +640,30 @@
632640
"@octokit/plugin-request-log" "^1.0.0"
633641
"@octokit/plugin-rest-endpoint-methods" "4.0.0"
634642

643+
"@octokit/[email protected]":
644+
version "18.0.3"
645+
resolved "https://registry.yarnpkg.com/@octokit/rest/-/rest-18.0.3.tgz#96a15ddb3a38dca5de9d75121378d6aa4a234fa5"
646+
integrity sha512-GubgemnLvUJlkhouTM2BtX+g/voYT/Mqh0SASGwTnLvSkW1irjt14N911/ABb6m1Hru0TwScOgFgMFggp3igfQ==
647+
dependencies:
648+
"@octokit/core" "^3.0.0"
649+
"@octokit/plugin-paginate-rest" "^2.2.0"
650+
"@octokit/plugin-request-log" "^1.0.0"
651+
"@octokit/plugin-rest-endpoint-methods" "4.1.2"
652+
635653
"@octokit/types@^5.0.0", "@octokit/types@^5.0.1":
636654
version "5.0.1"
637655
resolved "https://registry.yarnpkg.com/@octokit/types/-/types-5.0.1.tgz#5459e9a5e9df8565dcc62c17a34491904d71971e"
638656
integrity sha512-GorvORVwp244fGKEt3cgt/P+M0MGy4xEDbckw+K5ojEezxyMDgCaYPKVct+/eWQfZXOT7uq0xRpmrl/+hliabA==
639657
dependencies:
640658
"@types/node" ">= 8"
641659

660+
"@octokit/types@^5.1.1":
661+
version "5.4.0"
662+
resolved "https://registry.yarnpkg.com/@octokit/types/-/types-5.4.0.tgz#25f2f8e24fec09214553168c41c06383c9d0f529"
663+
integrity sha512-D/uotqF69M50OIlwMqgyIg9PuLT2daOiBAYF0P40I2ekFA2ESwwBY5dxZe/UhXdPvIbNKDzuZmQrO7rMpuFbcg==
664+
dependencies:
665+
"@types/node" ">= 8"
666+
642667
"@sindresorhus/is@^0.14.0":
643668
version "0.14.0"
644669
resolved "https://registry.yarnpkg.com/@sindresorhus/is/-/is-0.14.0.tgz#9fb3a3cf3132328151f353de4632e01e52102bea"
@@ -649,6 +674,11 @@
649674
resolved "https://registry.yarnpkg.com/@sindresorhus/is/-/is-2.1.1.tgz#ceff6a28a5b4867c2dd4a1ba513de278ccbe8bb1"
650675
integrity sha512-/aPsuoj/1Dw/kzhkgz+ES6TxG0zfTMGLwuK2ZG00k/iJzYHTLCE8mVU8EPqEOp/lmxPoq1C1C9RYToRKb2KEfg==
651676

677+
"@sindresorhus/is@^3.0.0":
678+
version "3.1.0"
679+
resolved "https://registry.yarnpkg.com/@sindresorhus/is/-/is-3.1.0.tgz#d8735532635bea69ad39119df5f0f10099bd09dc"
680+
integrity sha512-n4J+zu52VdY43kdi/XdI9DzuMr1Mur8zFL5ZRG2opCans9aiFwkPxHYFEb5Xgy7n1Z4K6WfI4FpqUqsh3E8BPQ==
681+
652682
"@szmarczak/http-timer@^1.1.2":
653683
version "1.1.2"
654684
resolved "https://registry.yarnpkg.com/@szmarczak/http-timer/-/http-timer-1.1.2.tgz#b1665e2c461a2cd92f4c1bbf50d5454de0d4b421"
@@ -1110,7 +1140,7 @@ camelcase@^5.0.0, camelcase@^5.3.1:
11101140
resolved "https://registry.yarnpkg.com/camelcase/-/camelcase-5.3.1.tgz#e3c9b31569e106811df242f715725a1f4c494320"
11111141
integrity sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==
11121142

1113-
1143+
[email protected], chalk@^4.1.0:
11141144
version "4.1.0"
11151145
resolved "https://registry.yarnpkg.com/chalk/-/chalk-4.1.0.tgz#4e14870a618d9e2edd97dd8345fd9d9dc315646a"
11161146
integrity sha512-qwx12AxXe2Q5xQ43Ac//I6v5aXTipYrSESdOgzrN+9XjgEpyjpKuvSGaN4qE93f7TQTlerQQ8S+EQ0EyDoVL1A==
@@ -1216,6 +1246,11 @@ cli-width@^2.0.0:
12161246
resolved "https://registry.yarnpkg.com/cli-width/-/cli-width-2.2.1.tgz#b0433d0b4e9c847ef18868a4ef16fd5fc8271c48"
12171247
integrity sha512-GRMWDxpOB6Dgk2E5Uo+3eEBvtOOlimMmpbFiKuLFnQzYDavtLFY3K5ona41jgN/WdRZtG7utuVSVTL4HbZHGkw==
12181248

1249+
cli-width@^3.0.0:
1250+
version "3.0.0"
1251+
resolved "https://registry.yarnpkg.com/cli-width/-/cli-width-3.0.0.tgz#a2f48437a2caa9a22436e794bf071ec9e61cedf6"
1252+
integrity sha512-FxqpkPPwu1HjuN93Omfm4h8uIanXofW0RxVEW3k5RKx+mJJYSthzNhp32Kzxxy3YAEZ/Dc/EWN1vZRY0+kOhbw==
1253+
12191254
cliui@^4.0.0:
12201255
version "4.1.0"
12211256
resolved "https://registry.yarnpkg.com/cliui/-/cliui-4.1.0.tgz#348422dbe82d800b3022eef4f6ac10bf2e4d1b49"
@@ -1697,6 +1732,21 @@ [email protected], execa@^4.0.0:
16971732
signal-exit "^3.0.2"
16981733
strip-final-newline "^2.0.0"
16991734

1735+
1736+
version "4.0.3"
1737+
resolved "https://registry.yarnpkg.com/execa/-/execa-4.0.3.tgz#0a34dabbad6d66100bd6f2c576c8669403f317f2"
1738+
integrity sha512-WFDXGHckXPWZX19t1kCsXzOpqX9LWYNqn4C+HqZlk/V0imTkzJZqf87ZBhvpHaftERYknpk0fjSylnXVlVgI0A==
1739+
dependencies:
1740+
cross-spawn "^7.0.0"
1741+
get-stream "^5.0.0"
1742+
human-signals "^1.1.1"
1743+
is-stream "^2.0.0"
1744+
merge-stream "^2.0.0"
1745+
npm-run-path "^4.0.0"
1746+
onetime "^5.1.0"
1747+
signal-exit "^3.0.2"
1748+
strip-final-newline "^2.0.0"
1749+
17001750
execa@^1.0.0:
17011751
version "1.0.0"
17021752
resolved "https://registry.yarnpkg.com/execa/-/execa-1.0.0.tgz#c6236a5bb4df6d6f15e88e7f017798216749ddd8"
@@ -2084,6 +2134,23 @@ [email protected]:
20842134
p-cancelable "^2.0.0"
20852135
responselike "^2.0.0"
20862136

2137+
2138+
version "11.5.1"
2139+
resolved "https://registry.yarnpkg.com/got/-/got-11.5.1.tgz#bf098a270fe80b3fb88ffd5a043a59ebb0a391db"
2140+
integrity sha512-reQEZcEBMTGnujmQ+Wm97mJs/OK6INtO6HmLI+xt3+9CvnRwWjXutUvb2mqr+Ao4Lu05Rx6+udx9sOQAmExMxA==
2141+
dependencies:
2142+
"@sindresorhus/is" "^3.0.0"
2143+
"@szmarczak/http-timer" "^4.0.5"
2144+
"@types/cacheable-request" "^6.0.1"
2145+
"@types/responselike" "^1.0.0"
2146+
cacheable-lookup "^5.0.3"
2147+
cacheable-request "^7.0.1"
2148+
decompress-response "^6.0.0"
2149+
http2-wrapper "^1.0.0-beta.5.0"
2150+
lowercase-keys "^2.0.0"
2151+
p-cancelable "^2.0.0"
2152+
responselike "^2.0.0"
2153+
20872154
got@^9.6.0:
20882155
version "9.6.0"
20892156
resolved "https://registry.yarnpkg.com/got/-/got-9.6.0.tgz#edf45e7d67f99545705de1f7bbeeeb121765ed85"
@@ -2221,6 +2288,14 @@ http2-wrapper@^1.0.0-beta.4.5:
22212288
quick-lru "^5.0.0"
22222289
resolve-alpn "^1.0.0"
22232290

2291+
http2-wrapper@^1.0.0-beta.5.0:
2292+
version "1.0.0-beta.5.2"
2293+
resolved "https://registry.yarnpkg.com/http2-wrapper/-/http2-wrapper-1.0.0-beta.5.2.tgz#8b923deb90144aea65cf834b016a340fc98556f3"
2294+
integrity sha512-xYz9goEyBnC8XwXDTuC/MZ6t+MrKVQZOk4s7+PaDkwIsQd8IwqvM+0M6bA/2lvG8GHXcPdf+MejTUeO2LCPCeQ==
2295+
dependencies:
2296+
quick-lru "^5.1.1"
2297+
resolve-alpn "^1.0.0"
2298+
22242299
https-proxy-agent@^4.0.0:
22252300
version "4.0.0"
22262301
resolved "https://registry.yarnpkg.com/https-proxy-agent/-/https-proxy-agent-4.0.0.tgz#702b71fb5520a132a66de1f67541d9e62154d82b"
@@ -2342,6 +2417,25 @@ [email protected]:
23422417
strip-ansi "^6.0.0"
23432418
through "^2.3.6"
23442419

2420+
2421+
version "7.3.3"
2422+
resolved "https://registry.yarnpkg.com/inquirer/-/inquirer-7.3.3.tgz#04d176b2af04afc157a83fd7c100e98ee0aad003"
2423+
integrity sha512-JG3eIAj5V9CwcGvuOmoo6LB9kbAYT8HXffUl6memuszlwDC/qvFAJw49XJ5NROSFNPxp3iQg1GqkFhaY/CR0IA==
2424+
dependencies:
2425+
ansi-escapes "^4.2.1"
2426+
chalk "^4.1.0"
2427+
cli-cursor "^3.1.0"
2428+
cli-width "^3.0.0"
2429+
external-editor "^3.0.3"
2430+
figures "^3.0.0"
2431+
lodash "^4.17.19"
2432+
mute-stream "0.0.8"
2433+
run-async "^2.4.0"
2434+
rxjs "^6.6.0"
2435+
string-width "^4.1.0"
2436+
strip-ansi "^6.0.0"
2437+
through "^2.3.6"
2438+
23452439
interpret@^1.0.0:
23462440
version "1.4.0"
23472441
resolved "https://registry.yarnpkg.com/interpret/-/interpret-1.4.0.tgz#665ab8bc4da27a774a40584e812e3e0fa45b1a1e"
@@ -2797,6 +2891,11 @@ [email protected], lodash@^4.17.11, lodash@^4.17.13, lodash@^4.17.14, lodash@^4.17.
27972891
resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.15.tgz#b447f6670a0455bbfeedd11392eff330ea097548"
27982892
integrity sha512-8xOcRHvCjnocdS5cpwXQXVzmmh5e5+saE2QGoeQmbKmRS6J3VQppPOIt0MnmE+4xlZoumy0GPG0D0MVIQbNA1A==
27992893

2894+
[email protected], lodash@^4.17.19:
2895+
version "4.17.19"
2896+
resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.19.tgz#e48ddedbe30b3321783c5b4301fbd353bc1e4a4b"
2897+
integrity sha512-JNvd8XER9GQX0v2qJgsaN/mzFCNA5BRe/j8JN9d+tWyGLSodKQHKFicdwNYzWwI3wjRnaKPsGj1XkBjx/F96DQ==
2898+
28002899
28012900
version "2.2.0"
28022901
resolved "https://registry.yarnpkg.com/log-symbols/-/log-symbols-2.2.0.tgz#5740e1c5d6f0dfda4ad9323b5332107ef6b4c40a"
@@ -3329,6 +3428,20 @@ [email protected]:
33293428
strip-ansi "^6.0.0"
33303429
wcwidth "^1.0.1"
33313430

3431+
3432+
version "4.0.5"
3433+
resolved "https://registry.yarnpkg.com/ora/-/ora-4.0.5.tgz#7410b5cc2d99fa637fd5099bbb9f02bfbb5a361e"
3434+
integrity sha512-jCDgm9DqvRcNIAEv2wZPrh7E5PcQiDUnbnWbAfu4NGAE2ZNqPFbDixmWldy1YG2QfLeQhuiu6/h5VRrk6cG50w==
3435+
dependencies:
3436+
chalk "^3.0.0"
3437+
cli-cursor "^3.1.0"
3438+
cli-spinners "^2.2.0"
3439+
is-interactive "^1.0.0"
3440+
log-symbols "^3.0.0"
3441+
mute-stream "0.0.8"
3442+
strip-ansi "^6.0.0"
3443+
wcwidth "^1.0.1"
3444+
33323445
ora@^4.0.2:
33333446
version "4.0.3"
33343447
resolved "https://registry.yarnpkg.com/ora/-/ora-4.0.3.tgz#752a1b7b4be4825546a7a3d59256fa523b6b6d05"
@@ -3470,6 +3583,16 @@ [email protected], parse-json@^5.0.0:
34703583
json-parse-better-errors "^1.0.1"
34713584
lines-and-columns "^1.1.6"
34723585

3586+
3587+
version "5.0.1"
3588+
resolved "https://registry.yarnpkg.com/parse-json/-/parse-json-5.0.1.tgz#7cfe35c1ccd641bce3981467e6c2ece61b3b3878"
3589+
integrity sha512-ztoZ4/DYeXQq4E21v169sC8qWINGpcosGv9XhTDvg9/hWvx/zrFkc9BiWxR58OJLHGk28j5BL0SDLeV2WmFZlQ==
3590+
dependencies:
3591+
"@babel/code-frame" "^7.0.0"
3592+
error-ex "^1.3.1"
3593+
json-parse-better-errors "^1.0.1"
3594+
lines-and-columns "^1.1.6"
3595+
34733596
parse-path@^4.0.0:
34743597
version "4.0.1"
34753598
resolved "https://registry.yarnpkg.com/parse-path/-/parse-path-4.0.1.tgz#0ec769704949778cb3b8eda5e994c32073a1adff"
@@ -3632,7 +3755,7 @@ pupa@^2.0.1:
36323755
dependencies:
36333756
escape-goat "^2.0.0"
36343757

3635-
quick-lru@^5.0.0:
3758+
quick-lru@^5.0.0, quick-lru@^5.1.1:
36363759
version "5.1.1"
36373760
resolved "https://registry.yarnpkg.com/quick-lru/-/quick-lru-5.1.1.tgz#366493e6b3e42a3a6885e2e99d18f80fb7a8c932"
36383761
integrity sha512-WuyALRjWPDGtt/wzJiadO5AXY+8hZ80hVpe6MyivgraREW751X3SbhRvG3eLKOYN+8VEvqLcf3wdnt44Z4S4SA==
@@ -3720,7 +3843,7 @@ release-it-lerna-changelog@^2.3.0:
37203843
tmp "^0.2.0"
37213844
which "^2.0.2"
37223845

3723-
release-it@^13.5.5, release-it@^13.6.0:
3846+
release-it@^13.5.5:
37243847
version "13.6.3"
37253848
resolved "https://registry.yarnpkg.com/release-it/-/release-it-13.6.3.tgz#69d5002462c30fe8372648913759aca8839b369b"
37263849
integrity sha512-Y/MruGGuOqI6cqrSXoOI40BuTz5i5BVq7k/3754S86dNbnAWIPWCkuHBNTK3u0aYk6qjfsJUdE1x8yrNFju34A==
@@ -3757,6 +3880,43 @@ release-it@^13.5.5, release-it@^13.6.0:
37573880
yaml "1.10.0"
37583881
yargs-parser "18.1.3"
37593882

3883+
release-it@^13.6.5:
3884+
version "13.6.6"
3885+
resolved "https://registry.yarnpkg.com/release-it/-/release-it-13.6.6.tgz#c1f770449177e1906297aa5dfc15b15334eeb77a"
3886+
integrity sha512-tR0RkcMxc0lhtnPGWE2tBcjAG7Z+NXsQZTGiNr6M/XM5tOL4cSkWPrBo9+vEtVS2S7XlBiLtCZ85jCzcovBnBw==
3887+
dependencies:
3888+
"@iarna/toml" "2.2.5"
3889+
"@octokit/rest" "18.0.3"
3890+
async-retry "1.3.1"
3891+
chalk "4.1.0"
3892+
cosmiconfig "6.0.0"
3893+
debug "4.1.1"
3894+
deprecated-obj "1.0.1"
3895+
detect-repo-changelog "1.0.1"
3896+
execa "4.0.3"
3897+
find-up "4.1.0"
3898+
form-data "3.0.0"
3899+
git-url-parse "11.1.2"
3900+
globby "11.0.1"
3901+
got "11.5.1"
3902+
import-cwd "3.0.0"
3903+
inquirer "7.3.3"
3904+
is-ci "2.0.0"
3905+
lodash "4.17.19"
3906+
mime-types "2.1.27"
3907+
ora "4.0.5"
3908+
os-name "3.1.0"
3909+
parse-json "5.0.1"
3910+
semver "7.3.2"
3911+
shelljs "0.8.4"
3912+
supports-color "7.1.0"
3913+
update-notifier "4.1.0"
3914+
url-join "4.0.1"
3915+
uuid "8.2.0"
3916+
window-size "1.1.1"
3917+
yaml "1.10.0"
3918+
yargs-parser "18.1.3"
3919+
37603920
remove-empty-directories@^0.0.1:
37613921
version "0.0.1"
37623922
resolved "https://registry.yarnpkg.com/remove-empty-directories/-/remove-empty-directories-0.0.1.tgz#49d671e66d0a692c08b15d1c597c49456d60ef41"
@@ -3911,6 +4071,13 @@ rxjs@^6.5.3:
39114071
dependencies:
39124072
tslib "^1.9.0"
39134073

4074+
rxjs@^6.6.0:
4075+
version "6.6.2"
4076+
resolved "https://registry.yarnpkg.com/rxjs/-/rxjs-6.6.2.tgz#8096a7ac03f2cc4fe5860ef6e572810d9e01c0d2"
4077+
integrity sha512-BHdBMVoWC2sL26w//BCu3YzKT4s2jip/WhwsGEDmeKYBhKDZeYezVUnHatYB7L85v5xs0BAQmg6BEYJEKxBabg==
4078+
dependencies:
4079+
tslib "^1.9.0"
4080+
39144081
safe-buffer@~5.1.0, safe-buffer@~5.1.1:
39154082
version "5.1.2"
39164083
resolved "https://registry.yarnpkg.com/safe-buffer/-/safe-buffer-5.1.2.tgz#991ec69d296e0313747d59bdfd2b745c35f8828d"
@@ -4480,6 +4647,11 @@ [email protected]:
44804647
resolved "https://registry.yarnpkg.com/uuid/-/uuid-8.1.0.tgz#6f1536eb43249f473abc6bd58ff983da1ca30d8d"
44814648
integrity sha512-CI18flHDznR0lq54xBycOVmphdCYnQLKn8abKn7PXUiKUGdEd+/l9LWNJmugXel4hXq7S+RMNl34ecyC9TntWg==
44824649

4650+
4651+
version "8.2.0"
4652+
resolved "https://registry.yarnpkg.com/uuid/-/uuid-8.2.0.tgz#cb10dd6b118e2dada7d0cd9730ba7417c93d920e"
4653+
integrity sha512-CYpGiFTUrmI6OBMkAdjSDM0k5h8SkkiTP4WAjQgDgNB1S3Ou9VBEvr6q0Kv2H1mMk7IWfxYGpMH5sd5AvcIV2Q==
4654+
44834655
wcwidth@^1.0.1:
44844656
version "1.0.1"
44854657
resolved "https://registry.yarnpkg.com/wcwidth/-/wcwidth-1.0.1.tgz#f0b0dcf915bc5ff1528afadb2c0e17b532da2fe8"

0 commit comments

Comments
 (0)