Skip to content

Commit

Permalink
chore: build action on version (#7)
Browse files Browse the repository at this point in the history
  • Loading branch information
jbolda committed Jul 12, 2020
1 parent a6b824c commit af79aee
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changes/build-action-on-preversion.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"action": patch
---

Build action on preversion so we can't forget to build when a version is updated.
1 change: 1 addition & 0 deletions .changes/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
"action": {
"path": "./",
"manager": "javascript",
"preversion": "yarn build",
"getPublishedVersion": "git tag v${ pkgFile.version } 2> OUT= || echo ${ pkgFile.version }",
"publish": [
"git tag v${ pkgFile.versionMajor } -f",
Expand Down

0 comments on commit af79aee

Please sign in to comment.