Skip to content

Commit

Permalink
fix(defaults): update commit message version in semantic-release run
Browse files Browse the repository at this point in the history
* Ensure the `v` prefix is included
  • Loading branch information
myii committed Aug 3, 2019
1 parent 8e2c546 commit 9382692
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ssf/files/tofs_ssf-formula/pre-commit_semantic-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,5 @@ cd ..
###############################################################################
# (C) Update `ssf/defaults.yaml` with `${nextRelease.version}`
###############################################################################
sed -i -e "s_^\(\s\+body: '\* Automated using \`ssf-formula\` (\).*\()'\)_\1${1}\2_" ssf/defaults.yaml
V_REPR=v${1}
sed -i -e "s_^\(\s\+body: '\* Automated using \`ssf-formula\` (\).*\()'\)_\1${V_REPR}\2_" ssf/defaults.yaml

0 comments on commit 9382692

Please sign in to comment.