Update package/nuget version to 1.1.0-beta-001
authorKangho Hur <kangho.hur@samsung.com>
Thu, 1 Dec 2016 10:55:19 +0000 (19:55 +0900)
committerWonYoung Choi <wy80.choi@samsung.com>
Thu, 1 Dec 2016 11:03:18 +0000 (20:03 +0900)
Change-Id: I833158ee716091948862c4ad34922a8873b8945e

packaging/elm-sharp.spec

index 60f9ed8..1d43d81 100644 (file)
@@ -6,6 +6,8 @@
 %define BUILDCONF Release
 %endif
 
+%define DEV_VERSION beta-001
+
 Name:       elm-sharp
 Summary:    C# Binding for Elementary
 Version:    1.1.0
@@ -40,7 +42,7 @@ find $ASM/*.project.json -exec nuget restore {} \;
 # Build
 find $ASM/*.csproj -exec xbuild {} /p:Configuration=%{BUILDCONF} \;
 # NuGet Pack
-nuget pack $ASM/$ASM.nuspec -Version %{version} -Properties Configuration=%{BUILDCONF}
+nuget pack $ASM/$ASM.nuspec -Version %{version}%{?DEV_VERSION:-%{DEV_VERSION}} -Properties Configuration=%{BUILDCONF}
 done
 
 edje_cc -id ElmSharp/theme/%{profile}/HD/images/ \