add scripts

This commit is contained in:
Noah
2023-03-07 20:25:13 -05:00
parent c984923f53
commit 35d2632b37
3 changed files with 23 additions and 0 deletions

4
docker-update.sh Normal file
View 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
View 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
View 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