Skip to content

Commit

Permalink
debian versioning updated
Browse files Browse the repository at this point in the history
  • Loading branch information
DarkCaster committed Sep 27, 2020
1 parent e045655 commit 8f94444
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 46 deletions.
5 changes: 4 additions & 1 deletion create-debian-source.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ distro="$4"
[[ $version = none ]] && version=""
[[ $distro = none ]] && distro=""

cur_date=`LANG=C date '+%a, %d %b %Y'`

mkdir -p "$target/sandboxer"
if [[ -d $curdir/.git ]]; then
git archive --format tar HEAD | (cd "$target/sandboxer" && tar xf -)
Expand All @@ -30,7 +32,8 @@ fi
cd "$target/sandboxer"
[[ -z $distro ]] && sed -i "s|__DISTRO__|unstable|g" "debian/changelog"
[[ ! -z $distro ]] && sed -i "s|__DISTRO__|""$distro""|g" "debian/changelog"
sed -i "s|__VERSION__SUFFIX__|""$version""|g" "debian/changelog"
sed -i "s|__VERSION__|""$version""|g" "debian/changelog"
sed -i "s|__DATE__|""$cur_date""|g" "debian/changelog"

if [[ -z $key ]]; then
dpkg-buildpackage -d -S -us -uc
Expand Down
48 changes: 3 additions & 45 deletions debian/changelog
Original file line number Diff line number Diff line change
@@ -1,47 +1,5 @@
sandboxer (0.7.5.dev__VERSION__SUFFIX__) __DISTRO__; urgency=low
sandboxer (__VERSION__) __DISTRO__; urgency=low

* Version 0.7.5.dev
* Version __VERSION__

-- DarkCaster <[email protected]> Mon, 24 Jun 2019 01:00:00 +0000

sandboxer (0.7.0__VERSION__SUFFIX__) __DISTRO__; urgency=low

* Version 0.7.0

-- DarkCaster <[email protected]> Mon, 24 Jun 2019 00:00:00 +0000

sandboxer (0.6.5.dev__VERSION__SUFFIX__) __DISTRO__; urgency=low

* Version 0.6.5.dev.

-- DarkCaster <[email protected]> Sun, 18 Feb 2018 04:00:00 +0000

sandboxer (0.6.0__VERSION__SUFFIX__) __DISTRO__; urgency=low

* Version 0.6.0

-- DarkCaster <[email protected]> Sun, 18 Feb 2018 03:00:00 +0000

sandboxer (0.5.5.dev__VERSION__SUFFIX__) __DISTRO__; urgency=low

* Version 0.5.5.dev.

-- DarkCaster <[email protected]> Tue, 24 Jan 2018 03:00:00 +0000

sandboxer (0.5.1__VERSION__SUFFIX__) __DISTRO__; urgency=low

* Version 0.5.1. Minor fixes.

-- DarkCaster <[email protected]> Tue, 24 Jan 2018 00:00:00 +0000

sandboxer (0.5__VERSION__SUFFIX__) __DISTRO__; urgency=low

* Version 0.5.

-- DarkCaster <[email protected]> Tue, 23 Jan 2018 00:00:00 +0000

sandboxer (0.4.dev__VERSION__SUFFIX__) __DISTRO__; urgency=low

* Initial Release.

-- DarkCaster <[email protected]> Wed, 27 Dec 2017 00:00:00 +0000
-- DarkCaster <[email protected]> __DATE__ 01:00:00 +0000

0 comments on commit 8f94444

Please sign in to comment.