Skip to content

Commit

Permalink
Merge branch 'release/0.91'
Browse files Browse the repository at this point in the history
  • Loading branch information
gugod committed Jan 31, 2021
2 parents 0d596b3 + c0098db commit 8d1f68c
Show file tree
Hide file tree
Showing 7 changed files with 24 additions and 28 deletions.
4 changes: 4 additions & 0 deletions Changes
@@ -1,3 +1,7 @@
0.91
- Released at 2021-01-31T17:10:27+0900
- Fix META info included in 0.90. No other feature changes.

0.90
- Released at 2021-01-29T09:43:17+0900
- Thanks to our contributors: Mose Schmiedel, gucchisk
Expand Down
31 changes: 10 additions & 21 deletions README
Expand Up @@ -14,26 +14,26 @@ NAME
perlbrew available

# Install some Perls
perlbrew install 5.18.2
perlbrew install perl-5.8.1
perlbrew install perl-5.19.9
perlbrew install 5.32.1
perlbrew install perl-5.28.3
perlbrew install perl-5.33.6

# See what were installed
perlbrew list

# Swith to an installation and set it as default
perlbrew switch perl-5.18.2
perlbrew switch perl-5.32.1

# Temporarily use another version only in current shell.
perlbrew use perl-5.8.1
perlbrew use perl-5.28.3
perl -v

# Or turn it off completely. Useful when you messed up too deep.
# Or want to go back to the system Perl.
# Turn it off and go back to the system perl.
perlbrew off

# Use 'switch' command to turn it back on.
perlbrew switch perl-5.12.2
# Turn it back on with 'switch', or 'use'
perlbrew switch perl-5.32.1
perlbrew use perl-5.32.1

# Exec something with all perlbrew-ed perls
perlbrew exec -- perl -E 'say $]'
Expand Down Expand Up @@ -71,7 +71,7 @@ NAME
put it in your PATH.

The installed perlbrew command is a standalone executable that can be
run with system perl. The minimum system perl version requirement is
run with system perl. The minimum required version of system perl is
5.8.0, which should be good enough for most of the OSes these days.

A fat-packed version of patchperl is also installed to
Expand Down Expand Up @@ -114,17 +114,6 @@ NAME
cpan command, but it is also easy to upgrade perlbrew by running cpan
App::perlbrew again.

METHODS

(Str) current_perl

Return the "current perl" object attribute string, or, if absent, the
value of PERLBREW_PERL environment variable.

(Str) current_perl (Str)

Set the current_perl object attribute to the given value.

PROJECT DEVELOPMENT

perlbrew project <https://perlbrew.pl/> uses github
Expand Down
6 changes: 3 additions & 3 deletions README.releasing.md
@@ -1,8 +1,8 @@
# Steps to do on releasing

1. Run `git flow release start <version>`
2. Run `./dev-bin/release.sh` and verify the result
3. update "Changes" file, if necessary.
1. update "Changes" file, if necessary.
2. Run `git flow release start <version>`
3. Run `./dev-bin/release.sh` and verify the result
4. Run `mbtiny test` to make sure no test failures. Fix test failures if any.
5. Run `git flow release finish <version>`
6. Run `git checkout master`
Expand Down
3 changes: 3 additions & 0 deletions dev-bin/release.sh
Expand Up @@ -27,6 +27,9 @@ mv Changes.new Changes
echo '# rebuild'
./dev-bin/build.sh

echo '# mbtiny regenerate'
mbtiny regenerate

echo '# ' Now, check them:
echo '> git status '
git status
2 changes: 1 addition & 1 deletion lib/App/perlbrew.pm
Expand Up @@ -2,7 +2,7 @@ package App::perlbrew;
use strict;
use warnings;
use 5.008;
our $VERSION = "0.90";
our $VERSION = "0.91";
use Config;

BEGIN {
Expand Down
2 changes: 1 addition & 1 deletion perlbrew
Expand Up @@ -326,7 +326,7 @@ $fatpacked{"App/perlbrew.pm"} = '#line '.(1+__LINE__).' "'.__FILE__."\"\n".<<'AP
use strict;
use warnings;
use 5.008;
our $VERSION = "0.90";
our $VERSION = "0.91";
use Config;

BEGIN {
Expand Down
4 changes: 2 additions & 2 deletions t/18.release-detail-perl-remote.t
Expand Up @@ -13,7 +13,7 @@ unless ($ENV{TEST_LIVE}) {
}

my $app = App::perlbrew->new();
$app->cpan_mirror("http://www.cpan.org");
$app->cpan_mirror("https://www.cpan.org");

my $rd = { type => "perl", "version" => "5.18.2" };
my ($error, undef) = $app->release_detail_perl_remote("perl-5.18.2", $rd);
Expand All @@ -22,7 +22,7 @@ ok !$error;
ok defined( $rd->{tarball_url} );
ok defined( $rd->{tarball_name} );

is $rd->{tarball_url}, "http://www.cpan.org/src/5.0/perl-5.18.2.tar.bz2";
is $rd->{tarball_url}, "https://www.cpan.org/src/5.0/perl-5.18.2.tar.bz2";
is $rd->{tarball_name}, "perl-5.18.2.tar.bz2";

done_testing;

0 comments on commit 8d1f68c

Please sign in to comment.