mirror of
https://github.com/InsanusMokrassar/ConfigurableInlineTelegramBot.git
synced 2026-11-22 19:33:12 +00:00
init
This commit is contained in:
commit
3f4dacc129
22 files changed
+789
No files matched your search
@@ -0,0 +1,22 @@
|
||||
#!/bin/bash
|
||||
|
||||
function send_notification() {
|
||||
echo "$1"
|
||||
}
|
||||
|
||||
function assert_success() {
|
||||
"${@}"
|
||||
local status=${?}
|
||||
if [ ${status} -ne 0 ]; then
|
||||
send_notification "### Error ${status} at: ${BASH_LINENO[*]} ###"
|
||||
exit ${status}
|
||||
fi
|
||||
}
|
||||
|
||||
app=planner-text-help
|
||||
version=0.1
|
||||
|
||||
assert_success ./gradlew build
|
||||
assert_success docker build -t $app:"$version" .
|
||||
assert_success docker tag $app:"$version" $app
|
||||
assert_success docker push $app
|
||||
Reference in new issue
Block a user