~ubuntu-branches/ubuntu/trusty/curtin/trusty-proposed

« back to all changes in this revision

Viewing changes to debian/README.source

  • Committer: Package Import Robot
  • Author(s): Andres Rodriguez
  • Date: 2015-02-16 15:05:57 UTC
  • mfrom: (1.1.20)
  • Revision ID: package-import@ubuntu.com-20150216150557-ozyzp3yxgy78fiit
Tags: 0.1.0~bzr196-0ubuntu1~14.04.1
* New upstream snapshot.
  * fix bug installing to UEFI systems (LP: #1383727)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
To pull a new upstream snapshot, given lp:curtin in ../trunk:
 
2
 
 
3
 trunk="../trunk"
 
4
 uver=0.1.0 # the *next* upstream version
 
5
 revno=$(cd "$trunk" && bzr revno)
 
6
 pversion=$(dpkg-parsechangelog --show-field Version) 
 
7
 prevno=$(echo "$pversion" | sed 's,.*bzr\([0-9]\+\)-.*,\1,')
 
8
 version=${uver}~bzr${revno}
 
9
 tarball=cloud-init-${version}.tar.gz
 
10
 bzr export --format=tgz --revision=${revno} "$tarball" "${trunk}"
 
11
 bzr merge-upstream "$tarball" --version=${version}
 
12
 ( cd "$trunk" && bzr log -r $(($prevno+1)).. ) > new-changes.log
 
13
 
 
14
Then, edit changelog and look at entries in 'new-changes.log'.