Skip to content

Commit

Permalink
(fix) reenable hook
Browse files Browse the repository at this point in the history
  • Loading branch information
sunng87 committed Aug 17, 2018
1 parent fa2539c commit 84553b7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions hook.sh
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
#!/bin/bash

echo $PREV_VERSION, $NEW_VERSION, $DRY_RUN
echo $@
2 changes: 1 addition & 1 deletion release.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
sign-commit = true
#upload-doc = true
#pre-release-hook = ["./hook.sh", "一", "два", "Three", "4"]
pre-release-hook = ["./hook.sh", "", "два", "Three", "4"]
pre-release-replacements = [ {file="README.md", search="Current release: [a-z0-9\\.-]+", replace="Current release: {{version}}"} , {file ="Cargo.toml", search="branch=\"[a-z0-9\\.-]+\"", replace="branch=\"{{version}}\""} ]

0 comments on commit 84553b7

Please sign in to comment.