Skip to content

Commit 089caec

Browse files
committed
mint a new release of fortunes-shlomif (use xz)
1 parent b05fce8 commit 089caec

2 files changed

Lines changed: 21 additions & 10 deletions

File tree

bin/mint-new-fortunes-shlomif-version-release-tarball.pl

Lines changed: 20 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -33,14 +33,25 @@ BEGIN
3333
my $repos = 'shlomif-humour-fortunes-archives-assets';
3434
$git_obj->github_shlomif_clone( 'lib/repos', $repos );
3535
my $full_r = "lib/repos/$repos";
36-
my $dest_pkg = "humour/fortunes/$package_base";
37-
my $full_dest_pkg = "$full_r/$dest_pkg";
36+
my $dir = "humour/fortunes";
37+
my $dest_pkg = "$dir/$package_base";
38+
my $full_dest_pkg = path("$full_r/$dest_pkg");
3839
path($full_path)->copy($full_dest_pkg);
39-
my_system(
40-
[
41-
"bash",
42-
"-c",
43-
"set -e -x ; cd $full_r && git add \"$dest_pkg\" && git commit -m \"add version @{[ShlomifFortunesMake->ver()]}\" && git push"
44-
]
45-
);
40+
my $ver = ShlomifFortunesMake->ver();
4641

42+
if (1)
43+
{
44+
my_system(
45+
[
46+
"bash",
47+
"-c",
48+
"set -e -x ; cd $full_r && git add \"$dest_pkg\" && git commit -m \"add version @{[$ver]}\" && git push"
49+
]
50+
);
51+
}
52+
my $post_dest = path("./dest/post-incs/t2/$dir");
53+
foreach my $tar ( $full_dest_pkg->parent->children(qr/\.tar\.(gz|xz)\z/) )
54+
{
55+
$tar->copy($post_dest);
56+
}
57+
my_system( [ "git", "tag", "fortunes-shlomif-v$ver" ] );

src/humour/fortunes/ver.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.22.0
1+
0.22.1

0 commit comments

Comments
 (0)