Skip to content

Commit

Permalink
Revert "Skip ->dist if $skip_dist"
Browse files Browse the repository at this point in the history
This reverts commit 0918633.
  • Loading branch information
Tux committed Aug 5, 2023
1 parent 40e2521 commit f579c49
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions script/release
Original file line number Diff line number Diff line change
Expand Up @@ -557,7 +557,7 @@ $release->_debug( "Will use HARNESS_OPTIONS '$ENV{HARNESS_OPTIONS}' during tests

# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
# Check that this is a version later than the one of CPAN
unless( $opts{V} // $skip_dist || $release->config->skip_cpan_version_check ) {
unless( $opts{V} // $release->config->skip_cpan_version_check ) {
$release->_print("============ Checking CPAN versions\n");
$release->load_mixin( 'Module::Release::MetaCPAN' );

Expand Down Expand Up @@ -595,7 +595,7 @@ unless( $opts{k} // $release->config->skip_kwalitee ) {
$release->clean;
$release->build_makefile;
$release->make;
$release->dist unless $skip_dist;
$release->dist;
$release->check_kwalitee;
}
else {
Expand Down Expand Up @@ -684,7 +684,7 @@ unless( $opts{T} // $release->config->skip_tests ) {
if( $opts{t} // $release->config->dry_run ) {
$release->_print("============ Cleaning up\n");
$release->_print( "This is a dry run, so stopping. Cleaning up.\n" );
eval { $release->distclean };
$release->distclean;
unlink glob( '*.tar *.tgz *.tar.gz *.tar.bz *.tar.bz2 *.tbz *.zip' );
exit;
}
Expand Down Expand Up @@ -763,7 +763,7 @@ $release->clean;
$release->touch_all_in_manifest;
$release->build_makefile;
$release->make;
$release->dist unless $skip_dist;
$release->dist;

$release->check_for_passwords;

Expand Down

0 comments on commit f579c49

Please sign in to comment.