File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1717 - run : apt-get update
1818 - run : apt-get -y install build-essential git openssh-client dpkg-dev debhelper dh-python pybuild-plugin-pyproject python3-all python3-setuptools
1919 - checkout
20+ - run : ./generate_release.sh
2021 - run : make -f debian/rules binary
2122 - run : mkdir -p /root/build
2223 - run : mv ../*.deb /root/build
Original file line number Diff line number Diff line change 1+ changelog
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ python-osc ($RELEASE) stable; urgency=medium
2+
3+ * Released
4+
5+ -- FOSDEM Team <noreply@fosdem.org> $DATE
Original file line number Diff line number Diff line change 33export PYBUILD_NAME =osc
44
55% :
6+ ./generate_release.sh
67 dh $@ --buildsystem=pybuild --with=python3
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+ set -e
3+
4+ if [[ $CIRCLE_TAG =~ ^v[0-9].* ]]; then
5+ RVERSION=" ${CIRCLE_TAG: 1} "
6+ else
7+ RVERSION=" 0.0.${CIRCLE_BUILD_NUM:= 1} "
8+ fi
9+
10+ # RVERSION="$(${CIRCLE_TAG:=0.0.${CIRCLE_BUILD_NUM:-1}} | sed 's/[^0-9\.]*//g')"
11+ RDATE=" $( date -R) "
12+
13+ sed -e ' s/$RELEASE/' " $RVERSION " ' /' -e ' s/$DATE/' " $RDATE " ' /' debian/changelog.template > debian/changelog
You can’t perform that action at this time.
0 commit comments