Skip to content

Commit

Permalink
fixing bug in Tag.pm and cleaning up debug junk
Browse files Browse the repository at this point in the history
  • Loading branch information
Mike Friedman committed Nov 16, 2011
1 parent c93566f commit 022ea83
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion lib/Dist/Zilla/Plugin/Git/NextVersion.pm
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ sub provide_version {

local $/ = "\n"; # Force record separator to be single newline

my $git = Git::Wrapper->new( $self->repo_dir );
my $git = Git::Wrapper->new( $self->repo_root );
my $regexp = $self->version_regexp;

my @tags = $git->tag;
Expand Down
3 changes: 0 additions & 3 deletions lib/Dist/Zilla/Plugin/Git/Tag.pm
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,6 @@ sub _build_tag

sub before_release {
my $self = shift;
use Cwd;
warn "tag before release " . $self->repo_root . "\n";
warn "cwd = " . getcwd . "\n";

my $git = Git::Wrapper->new( $self->repo_root );

Expand Down

0 comments on commit 022ea83

Please sign in to comment.