]>
git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blob - debian/scripts/misc/retag
3 open(TAGS
, "git tag -l |") or die "Could not get list of tags";
7 open(LOGS
, "git log --pretty=short |") or die "ERROR: Calling git log";
13 if (m
|^commit
(.*)$|) {
18 m
|\s
*UBUNTU
: (Ubuntu-2\
.6\
..*)| or next;
22 ($origtag) = grep(/^$tag.orig$/, @tags);
24 if (!defined($origtag)) {
25 print "I: Adding original tag for $tag\n";
26 system("git tag -m $tag $tag.orig $tag");
29 print "I: Tagging $tag => $commit\n";
31 system("git tag -f -m $tag $tag $commit");