Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Q
qgroundcontrol
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Valentin Platzgummer
qgroundcontrol
Commits
26a6fd79
Commit
26a6fd79
authored
Aug 23, 2015
by
Daniel Agar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
automate ppa creation and upload
parent
92dffd41
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
8 deletions
+19
-8
ubuntu_ppa
deploy/ubuntu_ppa
+19
-8
No files found.
deploy/ubuntu_ppa
100644 → 100755
View file @
26a6fd79
#! /bin/bash
version
=
"2.4"
rsync
-av
--delete
--exclude
=
.git ~/git/qgroundcontrol/ ~/tmp/qgroundcontrol-
${
version
}
/
tmpdir
=
`
mktemp
-d
`
long_version
=
`
git describe
--always
--tags
`
short_version
=
`
git describe
--always
--tags
|
cut
-d
"-"
-f
1,2
`
cd
~/tmp
tar
pczf qgroundcontrol_
${
version
}
.orig.tar.gz qgroundcontrol-
${
version
}
version
=
${
long_version
:1
}
dir_version
=
${
short_version
:1
}
echo
$version
cd
~/tmp/qgroundcontrol-
${
version
}
/
debuild
-S
debchange
-v
${
version
}
--distribution
trusty
qmake
-r
qgroundcontrol.pro
make git_ver
rsync
-av
--delete
--exclude
={
.git,build-release,release,Makefile
\*
}
.
${
tmpdir
}
/qgroundcontrol-
${
dir_version
}
/
dput ppa:qgroundcontrol/ppa qgroundcontrol_
${
version
}
-0ubuntu1_source
.changes
cd
${
tmpdir
}
tar
pczf qgroundcontrol_
${
dir_version
}
.orig.tar.gz qgroundcontrol-
${
dir_version
}
cd
${
tmpdir
}
/qgroundcontrol-
${
dir_version
}
/
debuild
-S
dput ppa:qgroundcontrol/ppa
${
tmpdir
}
/qgroundcontrol_
${
version
}
_source.changes
# test building the source deb locally
debuild
--prepend-path
=
/usr/lib/ccache
-sa
#
debuild --prepend-path=/usr/lib/ccache -sa
Write
Preview
Markdown
is supported
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