Skip to content

Commit 8d4dfc4

Browse files
authoredAug 17, 2020
Merge pull request #909 from emberjs/release-setup
2 parents a7736e8 + 02da9c9 commit 8d4dfc4

File tree

2 files changed

+16
-21
lines changed

2 files changed

+16
-21
lines changed
 

‎RELEASE.md

+14-19
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

+2-2
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,11 @@
3434
"test:all": "ember try:each"
3535
},
3636
"dependencies": {
37+
"@ember/test-waiters": "^2.2.0",
3738
"broccoli-debug": "^0.6.5",
3839
"broccoli-funnel": "^3.0.3",
3940
"ember-cli-babel": "^7.22.1",
40-
"ember-cli-htmlbars": "^5.2.0",
41-
"@ember/test-waiters": "^2.2.0"
41+
"ember-cli-htmlbars": "^5.2.0"
4242
},
4343
"devDependencies": {
4444
"@ember/optional-features": "^1.3.0",

0 commit comments

Comments
 (0)
Please sign in to comment.