major fixes

This commit is contained in:
2025-12-29 05:57:28 +01:00
parent 58b788ac80
commit de176bf985
3 changed files with 5 additions and 3 deletions
+1
View File
@@ -6,6 +6,7 @@
return 1;
cd /var/src/teatrader
git checkout main
git pull
cargo build --release
+3 -2
View File
@@ -6,8 +6,9 @@
return 1;
cd /var/src/teatrader
tag=$(curl -s $GITEA/api/v1/repos/$OWNER/$REPO/releases/latest \
| jq -r .tag_name)
tag=$(curl -s -H "Authorization: token $(cat ~/.webbump-secret)" \
https://git.engler-labs.root64.de/api/v1/repos/fabolous005/teatrader/releases/latest |\
jq -r .tag_name)
git checkout "$tag"