mirror of
https://github.com/Receipt-Wrangler/receipt-wrangler-api.git
synced 2026-01-06 02:59:41 -06:00
add scripts
This commit is contained in:
4
docker-update.sh
Normal file
4
docker-update.sh
Normal file
@@ -0,0 +1,4 @@
|
||||
#!/bin/bash
|
||||
|
||||
docker build . --no-cache -t noah231515/receipt-wrangler:api
|
||||
docker push noah231515/receipt-wrangler:api
|
||||
10
push-version.sh
Normal file
10
push-version.sh
Normal file
@@ -0,0 +1,10 @@
|
||||
#!/bin/bash
|
||||
|
||||
if [ -z "$1" ]; then
|
||||
echo "Please provide a version"
|
||||
exit 0
|
||||
else
|
||||
echo $1
|
||||
sh tag-version.sh $1
|
||||
sh docker-update.sh
|
||||
fi
|
||||
9
tag-version.sh
Normal file
9
tag-version.sh
Normal file
@@ -0,0 +1,9 @@
|
||||
#!/bin/bash
|
||||
|
||||
if [ -z "$1" ]; then
|
||||
echo "Please provide a version"
|
||||
exit 0
|
||||
else
|
||||
git tag $1
|
||||
git push origin $1
|
||||
fi
|
||||
Reference in New Issue
Block a user