Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
A
Ardupilot
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
Model registry
Operate
Environments
Monitor
Incidents
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
OpenSource
Ardupilot
Commits
1c94559f
Commit
1c94559f
authored
10 years ago
by
Andrew Tridgell
Browse files
Options
Downloads
Patches
Plain Diff
autotest: auto-update uavcan repo
parent
0811f9c1
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Tools/scripts/build_autotest.sh
+23
-1
23 additions, 1 deletion
Tools/scripts/build_autotest.sh
with
23 additions
and
1 deletion
Tools/scripts/build_autotest.sh
+
23
−
1
View file @
1c94559f
...
...
@@ -21,7 +21,18 @@ newtagsnuttx=$(cd PX4NuttX && git fetch --tags | wc -l)
oldhashnuttx
=
$(
cd
PX4NuttX
&&
git rev-parse origin/master
)
newhashnuttx
=
$(
cd
PX4NuttX
&&
git rev-parse HEAD
)
if
[
"
$oldhash
"
=
"
$newhash
"
-a
"
$newtags
"
=
"0"
-a
"
$oldhashpx4
"
=
"
$newhashpx4
"
-a
"
$newtagspx4
"
=
"0"
-a
"
$oldhashnuttx
"
=
"
$newhashnuttx
"
-a
"
$newtagsnuttx
"
=
"0"
]
;
then
newtagsuavcan
=
$(
cd
uavcan
&&
git fetch
--tags
|
wc
-l
)
oldhashuavcan
=
$(
cd
uavcan
&&
git rev-parse origin/master
)
newhashuavcan
=
$(
cd
uavcan
&&
git rev-parse HEAD
)
if
[
"
$oldhash
"
=
"
$newhash
"
-a
"
$newtags
"
=
"0"
-a
"
$oldhashpx4
"
=
"
$newhashpx4
"
-a
"
$newtagspx4
"
=
"0"
-a
"
$oldhashnuttx
"
=
"
$newhashnuttx
"
-a
"
$newtagsnuttx
"
=
"0"
-a
"
$oldhashuavcan
"
=
"
$newhashuavcan
"
-a
"
$newtagsuavcan
"
=
"0"
]
;
then
echo
"no change
$oldhash
$newhash
`
date
`
"
>>
build.log
exit
0
fi
...
...
@@ -114,6 +125,17 @@ git fetch origin --tags
git show
popd
pushd
uavcan
git fetch origin
git reset
--hard
origin/master
for
v
in
ArduPlane ArduCopter APMrover2
;
do
git tag
-d
$v
-beta
||
true
git tag
-d
$v
-stable
||
true
done
git fetch origin
--tags
git show
popd
echo
"Updating pymavlink"
pushd
mavlink/pymavlink
git fetch origin
...
...
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