Skip to content

Commit

Permalink
mint a new release of fortunes-shlomif (use xz)
Browse files Browse the repository at this point in the history
  • Loading branch information
shlomif committed Aug 27, 2020
1 parent b05fce8 commit 089caec
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 10 deletions.
29 changes: 20 additions & 9 deletions bin/mint-new-fortunes-shlomif-version-release-tarball.pl
Original file line number Diff line number Diff line change
Expand Up @@ -33,14 +33,25 @@ BEGIN
my $repos = 'shlomif-humour-fortunes-archives-assets';
$git_obj->github_shlomif_clone( 'lib/repos', $repos );
my $full_r = "lib/repos/$repos";
my $dest_pkg = "humour/fortunes/$package_base";
my $full_dest_pkg = "$full_r/$dest_pkg";
my $dir = "humour/fortunes";
my $dest_pkg = "$dir/$package_base";
my $full_dest_pkg = path("$full_r/$dest_pkg");
path($full_path)->copy($full_dest_pkg);
my_system(
[
"bash",
"-c",
"set -e -x ; cd $full_r && git add \"$dest_pkg\" && git commit -m \"add version @{[ShlomifFortunesMake->ver()]}\" && git push"
]
);
my $ver = ShlomifFortunesMake->ver();

if (1)
{
my_system(
[
"bash",
"-c",
"set -e -x ; cd $full_r && git add \"$dest_pkg\" && git commit -m \"add version @{[$ver]}\" && git push"
]
);
}
my $post_dest = path("./dest/post-incs/t2/$dir");
foreach my $tar ( $full_dest_pkg->parent->children(qr/\.tar\.(gz|xz)\z/) )
{
$tar->copy($post_dest);
}
my_system( [ "git", "tag", "fortunes-shlomif-v$ver" ] );
2 changes: 1 addition & 1 deletion src/humour/fortunes/ver.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.22.0
0.22.1

0 comments on commit 089caec

Please sign in to comment.