Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
FFS Pipeline nightly
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor 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
firmware
FFS Pipeline nightly
Commits
db791595
Commit
db791595
authored
5 years ago
by
Nico
Browse files
Options
Downloads
Patches
Plain Diff
Make Gluon major version configurable
parent
c12bc664
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
update-gluon.sh
+4
-2
4 additions, 2 deletions
update-gluon.sh
with
4 additions
and
2 deletions
update-gluon.sh
+
4
−
2
View file @
db791595
...
...
@@ -4,11 +4,13 @@ set -x
set
-eu
set
-o
pipefail
gluon_major
=
"v2019.1"
gluon_fork_git_url
=
"ssh://git@gitlab.freifunk-stuttgart.de:22220/firmware/gluon.git"
gluon_upstream_git_url
=
"https://github.com/freifunk-gluon/gluon.git"
site_git_url
=
"ssh://git@gitlab.freifunk-stuttgart.de:22220/firmware/site-ffs.git"
upstream_newest_minor
=
$(
git ls-remote
--tags
--refs
"
$gluon_upstream_git_url
"
'
refs/tags/
v2018.2*'
|
cut
-d
/
-f3
|
sort
-r
-n
-t
.
-k2
|
head
-n1
)
upstream_newest_minor
=
$(
git ls-remote
--tags
--refs
"
$gluon_upstream_git_url
"
"
refs/tags/
$gluon_major
\*
"
|
cut
-d
/
-f3
|
sort
-r
-n
-t
.
-k2
|
head
-n1
)
# branch name in our forked gluon
fork_newest_minor_branch
=
"
$upstream_newest_minor
-ffs"
fork_newest_minor_tag
=
"
$upstream_newest_minor
-ffs0.1"
...
...
@@ -38,7 +40,7 @@ cd ..
git clone
--recurse
"
$site_git_url
"
cd
site-ffs
git checkout
nightly
git checkout
"gluon-
$gluon_major
"
git submodule
sync
git submodule update
...
...
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