forked from alichtman/deadbolt
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
28 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,3 +23,4 @@ yarn-debug.log* | |
yarn-error.log* | ||
dist | ||
build | ||
/package-lock.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,33 @@ | ||
# Release Process | ||
|
||
**UNTESTED** | ||
|
||
## Create macOS App | ||
|
||
```bash | ||
$ npm run preelectron-pack && npm run dist | ||
``` | ||
|
||
### Making a New Release | ||
The macOS installer can be found at `dist/deadbolt-0.1.0-mac.zip`. | ||
|
||
## Publish on `npm` | ||
|
||
```bash | ||
$ npm version [major / minor / patch] | ||
$ npm publish | ||
``` | ||
|
||
## Release on GitHub | ||
|
||
1. Bump the version number in `package.json`. | ||
2. Commit and push. | ||
3. $ hub release create -m "MESSAGE" `cat VERSION` | ||
|
||
```bash | ||
version=$(npm version | rg deadbolt | cut -d ":" -f 2 | sed s/\'//g | sed s/,//g | sed s/\ //g) | ||
hub release create -m "deadbolt v$version" $version | ||
``` | ||
|
||
## Release on Homebrew | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters