Skip to content

Commit f1f0953

Browse files
author
S0lll0s
committed
release w/ amend abilities
1 parent eab775c commit f1f0953

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

release.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
IFS=$'\n'
44
git update-index -q --refresh
5-
if ! git diff-files --quiet --ignore-submodules --; then
5+
if ! git diff-files --quiet --ignore-submodules -- book; then
66
echo "unstaged changes, please stage or stash everything"
77
exit 1
88
fi
@@ -32,12 +32,12 @@ popd > /dev/null
3232
echo "rendering..."
3333
./render.sh
3434

35-
git commit
35+
git commit "$@"
3636
commit=`git show --format=format:%B -s`
3737

3838
pushd public > /dev/null
3939
git add .
40-
echo $commit | git commit -aF -
40+
echo $commit | git commit "$@" -aF -
4141
git push origin master:gh-pages
4242
git push io master
4343
popd > /dev/null

0 commit comments

Comments
 (0)