mirror of https://github.com/perkeep/perkeep.git
make-release: keep a log of tags made, since I don't trust myself with git
Change-Id: I251d59820ccc34433d9e19d428ec0a52773e554d
This commit is contained in:
parent
6f06d0d0f3
commit
6a4395e413
|
@ -48,6 +48,14 @@ foreach my $d (qw{
|
|||
system("git", "commit", "-m", "Add VERSION file and clean tree for release $version") and die "Failed to commit";
|
||||
system("git", "tag", $version) and die "Failed to tag";
|
||||
|
||||
my $commit = do { open(my $f, ".git/refs/tags/$version") or die; local $/; <$f> };
|
||||
chomp $commit;
|
||||
|
||||
system("git", "checkout", "master") and die;
|
||||
open(my $fh, ">>misc/release-history-tags");
|
||||
print $fh "$commit\t$version\n";
|
||||
close($fh);
|
||||
|
||||
print "Created branch $new_branch from master, cleaned it and wrote VERSION file, & tagged $version.\n";
|
||||
print "\n";
|
||||
print "Push with:\n";
|
||||
|
|
Loading…
Reference in New Issue