blob: 50464bbf77ca3171f06f4af0ddd0cbb6ebf41d97 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
#!/usr/bin/perl
use 5.028;
use strict;
use warnings;
use autodie;
use Term::UI;
system qw(dgit sbuild);
my $term = Term::ReadLine->new("brand");
exit unless $term->ask_yn(prompt => "run athena-apt-add and git tag?");
chomp(my $version = `dpkg-parsechangelog -SVersion`);
chomp(my $package = `dpkg-parsechangelog -SSource`);
system "athena-apt-add", "../${package}_${version}_multi.changes";
system qw(gbp buildpackage --git-tag-only --git-ignore-branch);
|