File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22[ assembly: System . Reflection . AssemblyDescription ( "Hjson.dll" ) ]
33[ assembly: System . Reflection . AssemblyProduct ( "Hjson - https://github.com/hjson/hjson-cs" ) ]
44[ assembly: System . Reflection . AssemblyCopyright ( "See LICENSE" ) ]
5- [ assembly: System . Reflection . AssemblyFileVersion ( "2.1.1 .0" ) ]
5+ [ assembly: System . Reflection . AssemblyFileVersion ( "2.1.2 .0" ) ]
66[ assembly: System . Reflection . AssemblyTitle ( "Hjson.dll" ) ]
77[ assembly: System . CLSCompliant ( true ) ]
Original file line number Diff line number Diff line change 11{
2+ "version" : " 2.1.2" ,
23 "buildOptions" : {
34 "xmlDoc" : true
45 },
Original file line number Diff line number Diff line change 22set -e # exit script on error
33BASE=` dirname " $( readlink -f " $0 " ) " `
44cd $BASE
5- echo $BASE
5+
6+ VERSION=` cat Hjson/project.json | sed -rn ' s/.*version": "(.*)".*/\1/p' `
7+ VERSION2=` cat Hjson/Properties/AssemblyInfo.cs | sed -rn ' s/.*AssemblyFileVersion\("(.*).0"\).*/\1/p' `
8+
9+ if [[ " $VERSION " != " $VERSION2 " ]]; then echo error: version mismatch; exit ; fi
610
711echo ------------------
812echo build core
@@ -27,5 +31,4 @@ echo ------------------
2731echo pkg
2832
2933mkdir -p nuget
30- VERSION=` cat Hjson/Properties/AssemblyInfo.cs | sed -rn ' s/.*AssemblyFileVersion\("(.*).0"\).*/\1/p' `
3134nuget pack Hjson.nuspec -Version $VERSION -OutputDirectory nuget/
Original file line number Diff line number Diff line change 11# hjson-cs History
22
3- - v2.1.1
3+ - v2.1.2
44 - add support for .NET Core
55- v2.1.0
66 - add DSF (domain specific formats), experimental
Original file line number Diff line number Diff line change 4343 <Compile Include =" ..\..\cli\Program.cs" />
4444 </ItemGroup >
4545 <ItemGroup >
46- <ProjectReference Include =" ..\src \Hjson.csproj" >
46+ <ProjectReference Include =" ..\Hjson \Hjson.csproj" >
4747 <Project >{ff9e2637-8bd3-4f8d-b563-d105b10d5354}</Project >
4848 <Name >Hjson</Name >
4949 </ProjectReference >
You can’t perform that action at this time.
0 commit comments