Skip to content

Commit fe320e7

Browse files
chore: Release hooks (#27)
1 parent 708d86d commit fe320e7

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

.release-it.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,7 @@ module.exports = {
1212
github: {
1313
release: true,
1414
},
15+
hooks: {
16+
"after:bump": "yarn compile:force",
17+
},
1518
};

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,5 +71,5 @@ npx solhint 'contracts/**/*.sol' --fix
7171
## Release
7272

7373
- Create a [Personal access token](https://github.com/settings/tokens/new?scopes=repo&description=release-it) (Don't change the default scope)
74-
- Create an `.env` (copy `.env.template`) and set you github personal access token.
75-
- `yarn release` will run all the checks, build, and publish the package, and publish the github release note.
74+
- Create an `.env` (copy `.env.template`) and set you GitHub personal access token.
75+
- `yarn release` will run all the checks, build, and release the package, and publish the GitHub release note.

0 commit comments

Comments
 (0)