summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShlomi Fish <shlomif@shlomifish.org>2022-06-13 21:15:53 +0300
committerShlomi Fish <shlomif@shlomifish.org>2022-06-13 21:15:53 +0300
commitfadd3254690c937d11875b1a4f76856070fec9f2 (patch)
treecabc38527fcb7ff5daf6c2982e18c4478548ccb3
parentabe5589f2087b45e1fd64319eb87cec709b5dae8 (diff)
prepare for a release
-rw-r--r--Changes3
-rw-r--r--dist.ini7
-rw-r--r--scripts/tag-release.pl21
3 files changed, 27 insertions, 4 deletions
diff --git a/Changes b/Changes
index 4ebcc2e..9f9dc66 100644
--- a/Changes
+++ b/Changes
@@ -1,5 +1,8 @@
Revision history for Perl extension File-Remove
+1.61 2022-06-13 - Shlomi Fish
+ - Merged https://github.com/shlomif/File-Remove/pull/4
+
1.60 2020-10-22 - Shlomi Fish
- Add .tidyallrc + related changes
- Fix mismatched $VERSION.
diff --git a/dist.ini b/dist.ini
index c6843bc..a5e6ab2 100644
--- a/dist.ini
+++ b/dist.ini
@@ -3,10 +3,7 @@ author = Shlomi Fish <shlomif@cpan.org>
license = Perl_5
copyright_holder = Gabor Egressy
copyright_year = 1998
-version = 1.60
-
-[Prereqs]
-Pod::Coverage::TrustPod = 0.100005
+version = 1.61
[@Filter]
-bundle = @SHLOMIF
@@ -18,3 +15,5 @@ repository_url = git://github.com/shlomif/File-Remove.git
repository_web = https://github.com/shlomif/File-Remove
repository_type = git
[Test::TidyAll]
+; authordep Pod::Coverage::TrustPod
+; authordep Pod::Weaver::PluginBundle::SHLOMIF
diff --git a/scripts/tag-release.pl b/scripts/tag-release.pl
new file mode 100644
index 0000000..da8cf86
--- /dev/null
+++ b/scripts/tag-release.pl
@@ -0,0 +1,21 @@
+#! /usr/bin/env perl
+
+use strict;
+use warnings;
+
+use Path::Tiny qw/ path /;
+
+my ($version) =
+ ( map { m{\Aversion * = *(\S+)} ? ($1) : () }
+ path("./dist.ini")->lines_utf8() );
+
+if ( !defined($version) )
+{
+ die "Version is undefined!";
+}
+
+my $DIST = "File-Remove";
+my @cmd = ( "git", "tag", "-m", "Tagging $DIST as $version", "$version", );
+
+print join( " ", map { /\s/ ? qq{"$_"} : $_ } @cmd ), "\n";
+exec(@cmd);