File: create_deb.sh

package info (click to toggle)
libexecs 1.2-1
  • links: PTS
  • area: main
  • in suites:
  • size: 160 kB
  • sloc: ansic: 461; makefile: 72; sh: 8
file content (11 lines) | stat: -rwxr-xr-x 355 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
#!/bin/bash

if [ $1 == 'newtag' ]
then
	UPSTREAM_VERSION="$(dpkg-parsechangelog --show-field Version | sed 's/-.*$//')"
	cd ..
	tar zcvf libexecs_${UPSTREAM_VERSION}.orig.tar.gz --transform "s/^s2argv-execs/libexecs-${UPSTREAM_VERSION}/" --exclude "s2argv-execs/debian" --exclude "s2argv-execs/.git" s2argv-execs
	cd s2argv-execs
fi

debuild -uc -us -sa