Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
immerda
Container Images
gitlab
Commits
fa42085c
Commit
fa42085c
authored
Mar 17, 2021
by
o@immerda.ch
Browse files
temp unblock update
parent
738c023d
Pipeline
#6660
passed with stage
in 13 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
update_git.sh
View file @
fa42085c
...
...
@@ -7,7 +7,8 @@ cd upstream
cur_git_branch
=
$(
git rev-parse
--abbrev-ref
HEAD
)
# 43-43-stable seems to be noise
latest_branch
=
$(
git branch
-a
|
grep
-E
'/origin/[01-9\-]+\-stable$'
|
grep
-v
'43-43-stable'
|
sed
's/ remotes\/origin\///'
|
sort
-V
|
tail
-n
1
)
# WARNING(o): 13-10 can't be built yet, but we should update 13-9
latest_branch
=
$(
git branch
-a
|
grep
-E
'/origin/[01-9\-]+\-stable$'
|
grep
-v
'43-43-stable'
|
grep
-v
'13-10-stable'
|
sed
's/ remotes\/origin\///'
|
sort
-V
|
tail
-n
1
)
tmp_branch_name
=
old-
$(
date
+%Y%m%d
)
cur_dir
=
$(
dirname
$(
readlink
-f
$0
))
...
...
mh
@mh
mentioned in commit
f096100e
·
Mar 18, 2021
mentioned in commit
f096100e
mentioned in commit f096100e8fd34c44bec3cc33cb6986b33d03b289
Toggle commit list
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment