Skip to content
Snippets Groups Projects
Commit 6135d288 authored by Vipul's avatar Vipul
Browse files

chore: ready for release

parent a8506539
No related branches found
No related tags found
1 merge request!11Prep for 0.1.1 release
......@@ -164,12 +164,12 @@ setup_git() {
echo "Checking for git updates..."
cd "$PROJECT_PATH" || exit
# git config pull.rebase true
sudo git fetch origin prep-for-0.1.1-release
sudo git fetch origin main
if [ "$(git rev-parse HEAD)" != "$(git rev-parse FETCH_HEAD)" ]; then
# Ignore all local changes(comitted & non-comitted)
sudo git reset --hard origin/prep-for-0.1.1-release
# TODO: Change this to prep-for-0.1.1-release branch
sudo git pull origin prep-for-0.1.1-release --force
sudo git reset --hard origin/main
# TODO: Change this to main branch
sudo git pull origin main --force
echo "Repository updated. Applying updates..."
# Ensure the scripts are executable after a potential update
chmod +x "$SCRIPT_PATH"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment