Skip to content

Commit

Permalink
Fix conditional in release hook
Browse files Browse the repository at this point in the history
  • Loading branch information
carhartl committed Dec 12, 2019
1 parent 099389f commit f8ac189
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .release-it.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
},
"hooks": {
"after:bump": "npm run dist",
"after:git:release": "[ ${isPreRelease} = false ] && git tag -f latest && git push -f origin latest",
"after:git:release": "if [ \"${isPreRelease}\" != \"true\" ]; then git tag -f latest && git push -f origin latest; fi",
"after:release": "echo Successfully created a release draft v${version} for ${repo.repository}. Please add release notes when necessary and publish it!",
"before:init": "npm test"
}
Expand Down

0 comments on commit f8ac189

Please sign in to comment.