blob: d147a267f2d56372c8fc6cc74802c14c19960fae (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
#!/bin/bash
makepkg --printsrcinfo > .SRCINFO
echo ":: .SRCINFO created"
commit_msg=$(gum input --placeholder "Enter your commit-message")
if gum confirm "Do you want to commit?" ;then
git add .
git commit -m "$commit_msg"
echo ":: Commit created with $commit_msg"
if gum confirm "Do you want to push?" ;then
git push aur master
fi
fi
|