File tree Expand file tree Collapse file tree 2 files changed +6
-7
lines changed
Expand file tree Collapse file tree 2 files changed +6
-7
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,6 @@ python-ovh (0.4.4) trusty; urgency=medium
1616 * Add debian folder
1717 * fix: remove Python SNI warnings, OVH API does not need SNI (#35)
1818 * fix: coveralls version
19- * [auto] bump version to v0.4.6
2019 * fix: (regression) body boolean must be sent as boolean (#34)
2120
2221 -- Arnaud Morin <arnaud.morin@corp.ovh.com> Mon, 03 Oct 2016 14:34:21 +0200
Original file line number Diff line number Diff line change 3131 exit 1
3232fi
3333
34- # Upgrading debian/changelog
35- dch --noquery --distribution trusty --newversion ${CURRENT_VERSION} " New upstream release v${CURRENT_VERSION} "
36- while IFS= read -r line ; do
37- dch -a $line
38- done <<< $( git log --format=' format:%s' --no-merges v${CURRENT_VERSION} ..)
39-
4034sed -i " 4i## ${VERSION} ($( date --iso) )\n${CHANGES} \n" CHANGELOG.md
4135vim CHANGELOG.md
4236
37+ # Upgrading debian/changelog
38+ dch --noquery --distribution trusty --newversion ${VERSION} " New upstream release v${VERSION} "
39+ awk " /## ${VERSION} /{f=1;next}/##/{f=0} f" CHANGELOG.md | sed ' s/^\s*-\s*//' | while IFS= read -r line ; do
40+ dch --noquery --distribution trusty -a " $line "
41+ done
42+
4343# Commit and tag
4444git commit -sam " [auto] bump version to v${VERSION} "
4545git tag v${VERSION}
You can’t perform that action at this time.
0 commit comments