Skip to content

Commit 8a9c3e8

Browse files
authored
chore: add release script (#801)
1 parent d1c4cab commit 8a9c3e8

File tree

6 files changed

+1270
-2
lines changed

6 files changed

+1270
-2
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
.idea
22
.vscode
33
/bin
4+
node_modules

CHANGELOG.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
# Changelog
22

3-
## v2.0.0-beta.2 (Unreleased)
4-
53
## v2.0.0-beta.1 (2020-02-14)
64

75
* First release 🎉

scripts/release.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
#!/bin/bash
2+
3+
cd scripts/release || (echo "Please run this script from repo root" && exit 1)
4+
5+
yarn install --frozen-lock-file
6+
yarn run release

scripts/release/package.json

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
"name": "scripts",
3+
"version": "1.0.0",
4+
"main": "index.js",
5+
"license": "Apache-2.0",
6+
"dependencies": {
7+
"@octokit/rest": "^17.1.1",
8+
"aws-sdk": "^2.645.0",
9+
"colors": "^1.4.0",
10+
"external-editor": "^3.1.0",
11+
"get-stream": "^5.1.0",
12+
"git-raw-commits": "^2.0.2",
13+
"semver": "^6.3.0"
14+
},
15+
"scripts": {
16+
"release": "node release.js"
17+
}
18+
}

0 commit comments

Comments
 (0)