mirror of
https://github.com/crskycode/GARbro.git
synced 2024-11-23 21:55:34 +08:00
use total number of commits into project directory as revision number.
This commit is contained in:
parent
721e39fb8e
commit
89e594f3bd
@ -34,7 +34,7 @@ chdir $project_dir or die "$project_dir: $!\n";
|
||||
my $git_exe = get_git_exe;
|
||||
my $prop_dir = File::Spec->catfile ('.', 'Properties');
|
||||
my $assembly_info = File::Spec->catfile ($prop_dir, 'AssemblyInfo.cs');
|
||||
my $revision = `$git_exe rev-list master --count $project_file`;
|
||||
my $revision = `$git_exe rev-list HEAD --count .`;
|
||||
die "git.exe failed\n" if $? != 0;
|
||||
chomp $revision;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user