add place holder stub until we figure out how to do releases
This commit is contained in:
Executable
+4
@@ -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
|
||||||
@@ -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/
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user