summary refs log tree commit diff
diff options
context:
space:
mode:
authorOren Novotny <oren@novotny.org>2015-10-17 15:44:10 -0400
committerOren Novotny <oren@novotny.org>2015-10-17 15:44:10 -0400
commit4c168e84523e6cbf19b16635eed500a9d8c6731b (patch)
treecded5ee93424f3284fbe08bbe470e2aa4003ddf6
parentmerge to pcl (diff)
downloadBouncyCastle.NET-ed25519-4c168e84523e6cbf19b16635eed500a9d8c6731b.tar.xz
add build configs
-rw-r--r--GitVersionConfig.yaml2
-rw-r--r--appveyor.yml23
2 files changed, 25 insertions, 0 deletions
diff --git a/GitVersionConfig.yaml b/GitVersionConfig.yaml
new file mode 100644
index 000000000..2829b7900
--- /dev/null
+++ b/GitVersionConfig.yaml
@@ -0,0 +1,2 @@
+next-version: 1.8.0-rc4
+legacy-semver-padding: 0
diff --git a/appveyor.yml b/appveyor.yml
new file mode 100644
index 000000000..f05e026c8
--- /dev/null
+++ b/appveyor.yml
@@ -0,0 +1,23 @@
+configuration: Release
+platform: Any CPU
+install:
+  - cmd: choco install gitversion.portable -pre -y
+  - cmd: curl -fsS -o .nuget\nuget.exe https://dist.nuget.org/win-x86-commandline/latest/nuget.exe
+
+assembly_info:
+  patch: false
+      
+before_build:
+  - cmd: .nuget\nuget install gitlink -Verbosity quiet -ExcludeVersion -pre
+  - cmd: .nuget\nuget restore
+  - cmd: gitversion /l console /output buildserver /updateAssemblyInfo
+  
+build:
+  verbosity: normal
+  project: BouncyCastle-PCL.sln
+  
+after_build:
+  - cmd: packages\gitlink\lib\net45\GitLink.exe . -f BouncyCastle-PCL.sln -u https://github.com/onovotny/BouncyCastle-PCL
+  - cmd: ECHO .nuget\nuget pack Portable.BouncyCastle.nuspec -version "%GitVersion_NuGetVersion%-build%GitVersion_BuildMetadataPadded%" -prop "target=%CONFIGURATION%"
+  - cmd: .nuget\nuget pack Portable.BouncyCastle.nuspec -version "%GitVersion_NuGetVersion%-build%GitVersion_BuildMetadataPadded%" -prop "target=%CONFIGURATION%"
+  - cmd: appveyor PushArtifact "Portable.BouncyCastle.%GitVersion_NuGetVersion%-build%GitVersion_BuildMetadataPadded%.nupkg"
\ No newline at end of file