Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
S
Shepherd Enterprise
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Subconscious Compute (Open)
Shepherd Enterprise
Commits
6135d288
Commit
6135d288
authored
11 months ago
by
Vipul
Browse files
Options
Downloads
Patches
Plain Diff
chore: ready for release
parent
a8506539
No related branches found
No related tags found
1 merge request
!11
Prep for 0.1.1 release
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
setup-debian.sh
+4
-4
4 additions, 4 deletions
setup-debian.sh
with
4 additions
and
4 deletions
setup-debian.sh
+
4
−
4
View file @
6135d288
...
...
@@ -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
"
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment