mirror of
https://github.com/tcsenpai/powertux.git
synced 2025-06-06 03:05:24 +00:00
git add . && git committ -a -m $1 && trunk checks && recommit && push
(requires trunk but works without too)
This commit is contained in:
parent
a6f8f5fd2f
commit
3c17c65a20
16
bin/gitup
Executable file
16
bin/gitup
Executable file
@ -0,0 +1,16 @@
|
||||
#!/bin/bash
|
||||
echo $1
|
||||
cd $(pwd)
|
||||
echo "Adding everything to the commit..."
|
||||
git add .
|
||||
git commit -a -m "$1"
|
||||
echo "Upgrading and executing trunk..."
|
||||
trunk upgrade || echo "trunk upgrade failed"
|
||||
trunk check || echo "trunk check failed"
|
||||
trunk fmt || echo "trunk fmt failed"
|
||||
echo "Final commit (if any)..."
|
||||
git commit -a -m "Post trunk commit"
|
||||
echo "Pushing..."
|
||||
git push
|
||||
echo "Done!"
|
||||
|
Loading…
x
Reference in New Issue
Block a user