Skip to content

Commit 3e0c6e3

Browse files
committed
Move releases from Launchpad to GitHub
Automate building and uploading the release tarball to GitHub on Travis.
1 parent a48101d commit 3e0c6e3

File tree

4 files changed

+11
-10
lines changed

4 files changed

+11
-10
lines changed

.travis.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,12 @@ env:
1010
cache:
1111
directories:
1212
- /tmp/cache
13+
deploy:
14+
provider: releases
15+
api_key:
16+
secure: "W5mg0roWwfjxzCMxbqadMfqeltkVAQTm6jCAdUyZE6A8jklyvlVCyLPGrPjQyyyBe0LB+K9muc9P8VWdO/BmJQFgns8AAKRO+ervbv+9C19x4bfIbSOF7qky0+vsnrmgqWhGjwzYMWjQwq8jHzQ3rI0FGkzbNE6aJVFHwRLd6VLrtXM6j5sd8KW6FE7zqkHn/xJMT9cHenKUjPPniLw39equFZxsuLv4bCY1yvJE2TcIWeLmn8eGYXJ5/qlGhOmzcgqQT6y3wDLOqoJQIo87ZY8zZnE6OZP7fXUQ0kj6hEJOmNKT1zNVNp5BTM7wfh8x/QpU9j7sAkn7tU+sHG5QLjw1Cb5/6/paPPe+ONC+3qsa+NUXBCusxX5tjh474790XqfrLZJIts04ZzS55hQU/YIK8LS9lY/AkHo1qDDE1EMZs3FfibSbF+EbRDH7riSViYl40rJTCzo31C9XphVQwpMqMiYLc4viXQ+2zIdLDzKdCHAF8+NNjcl1XycMTCNZb10onxhqvfhvwPnJ13AjUCcMCe5g/9bQ5dRsssoZNBGM5HIDPZ3Gp5Y0JrdRkY/65lpT/av8FsIo7TZYYep3rC/sgflcnYzJtHkLIudTLT/dAl62hpMFm7BTrwIBb22vL3/l6xayMRZMSlYLIoDQ6UIEe51Rgf3CQqAaycKSzwo="
17+
file: umockdev-${TRAVIS_TAG}.tar.xz
18+
skip_cleanup: true
19+
on:
20+
tags: true
21+
condition: -z "$RELEASE"

README.rst

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -342,10 +342,7 @@ all
342342

343343
Development
344344
===========
345-
| Home page: https://github.com/martinpitt/umockdev
346-
| GIT: git://github.com/martinpitt/umockdev.git
347-
| Bugs: https://github.com/martinpitt/umockdev/issues
348-
| Releases: https://launchpad.net/umockdev/+download
345+
umockdev is being developed and released on https://github.com/martinpitt/umockdev.
349346

350347
umockdev is very much demand driven. If you want to work on a new feature (such
351348
as adding support for more ioctls) or contribute a bug fix, please check out

do-release

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,15 +26,9 @@ version=$(grep '(UNRELEASED)' NEWS | cut -f1 -d' ')
2626
}
2727
sed -i "s/(UNRELEASED)/$(date '+(%Y-%m-%d)')/" NEWS
2828

29-
# build the final tarball with the NEWS update
30-
make dist
31-
3229
# commit the release and tag
3330
git commit -a -m "release $version"
3431
changes=$(sed -n '/^$/ q; /^- / p' NEWS)
3532
printf "$version\n\n$changes\n" | git tag -s -F- $version
3633
git push
3734
git push --tags
38-
39-
lp-project-upload umockdev $version umockdev-$version.tar.xz
40-

tests/run-ubuntu-chroot

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,3 +58,4 @@ make check-valgrind
5858
make -j4 distcheck
5959
EOU
6060
EOF
61+
cp "$CHROOT/build/src/umockdev-*.tar.gz .

0 commit comments

Comments
 (0)