File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -64,6 +64,7 @@ namespace :source do
64
64
desc 'Update assembly info with latest version number'
65
65
assemblyinfo :update_version do |info|
66
66
info.output_file = PROPS
67
+ commit_hash = `git log -1 --format="%H%"`
67
68
68
69
info.title = Platform.config['assembly_info']['title']
69
70
info.version = get_version
@@ -104,9 +105,9 @@ namespace :source do
104
105
105
106
msbuild :msbuild, [:nhibernate_version] => :nhibernate_version do |msbuild, args|
106
107
msbuild.properties = {
107
- configuration: : Release,
108
- DefineConstants: nh_version_precompiler_switch ,
109
- WarningLevel: 0
108
+ :Configuration => " Release" ,
109
+ :DefineConstants => args[:nhibernate_version] ,
110
+ :WarningLevel => 0
110
111
}
111
112
msbuild.targets [:Clean, :Build]
112
113
msbuild.solution = SLN
You can’t perform that action at this time.
0 commit comments