Skip to content

Commit 33f01f7

Browse files
committed
fix scripts/release
1 parent e978655 commit 33f01f7

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

scripts/release

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,7 @@ git push --tags
1313
github_changelog_generator --issue-line-labels="ALL" --release-url="https://github.com/hyperdriven/hyperdrive/releases/tag/%s"
1414
git commit CHANGELOG.md -m "updates changelog for ${1}"
1515
git push origin master
16-
hub release create -m "${1}\n\n${2}" ${1}
16+
rm -f .git/RELEASE_EDITMSG
17+
touch .git/RELEASE_EDITMSG
18+
echo "${1}\n\n${2}" >> .git/RELEASE_EDITMSG
19+
hub release create -f .git/RELEASE_EDITMSG ${1}

0 commit comments

Comments
 (0)