add place holder stub until we figure out how to do releases

This commit is contained in:
frederik
2024-02-13 09:18:39 +01:00
parent 189ef116d0
commit ab8e3b1d68
2 changed files with 6 additions and 0 deletions
+4
View File
@@ -0,0 +1,4 @@
#!/usr/bin/env bash
# place holder stub until we figure out how to do releases
# this could 'git reset' to a safe commit where the updater is smart enough to do the right thing
+2
View File
@@ -56,6 +56,8 @@ sudo_with_user git -C $HOME/BirdNET-Pi switch -C $branch --track $remote/$branch
# Prints out changes # Prints out changes
sudo_with_user git -C $HOME/BirdNET-Pi diff --stat $commit_hash HEAD sudo_with_user git -C $HOME/BirdNET-Pi diff --stat $commit_hash HEAD
$my_dir/pre_update.sh
sudo systemctl daemon-reload sudo systemctl daemon-reload
sudo ln -sf $my_dir/* /usr/local/bin/ sudo ln -sf $my_dir/* /usr/local/bin/