Skip to content

Commit 8b1599d

Browse files
committed
Finally fixed the bug where only the first word in the commit message is uploaded
1 parent 81c92b3 commit 8b1599d

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

devtest

100644100755
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
# for errors, and if no errors occur, upload changes to the arch user repository
66

77
TOOL_NAME=devtest
8-
VERSION=1.0.2
8+
VERSION=1.0.3
99
CONFIG_DIR=${XDG_CONFIG_HOME:-$HOME/.config}/$TOOL_NAME
1010
CONFIG_FILE=$CONFIG_DIR/config
1111
DATA_DIR=${XDG_DATA_HOME:-$HOME/.local/share}/$TOOL_NAME
@@ -164,7 +164,7 @@ backup() {
164164
upload() {
165165
makepkg --printsrcinfo > .SRCINFO
166166
git add -u
167-
git commit -m "$1"
167+
git commit -m "$COMMIT_MESSAGE"
168168
git push
169169
}
170170

@@ -254,7 +254,7 @@ start() {
254254
done
255255

256256
# Attempt to upload packages to the AUR
257-
if upload $COMMIT_MESSAGE; then
257+
if upload; then
258258
echo "Successfully uploaded $i."
259259
UPLOAD_SUCCESS+=($i)
260260
else

0 commit comments

Comments
 (0)