Skip to content

Commit 54d4803

Browse files
committed
Add .nuspec and .yml file
1 parent fefb841 commit 54d4803

File tree

3 files changed

+102
-1
lines changed

3 files changed

+102
-1
lines changed

WebDriverManager/WebDriverManager/Properties/AssemblyInfo.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,4 +35,4 @@
3535
// by using the '*' as shown below:
3636
//[assembly: AssemblyVersion("1.0.*")]
3737
[assembly: AssemblyVersion("1.0.0.0")]
38-
// [assembly: AssemblyFileVersion("1.0.0.0")]
38+
[assembly: AssemblyFileVersion("1.0.0.0")]
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
<?xml version="1.0"?>
2+
<package >
3+
<metadata>
4+
<id>$id$</id>
5+
<version>$version$</version>
6+
<title>$title$</title>
7+
<authors>$author$</authors>
8+
<owners>$author$</owners>
9+
<licenseUrl>https://github.com/rosolko/WebDriverManager.Net/blob/master/LICENSE</licenseUrl>
10+
<projectUrl>https://github.com/rosolko/WebDriverManager.Net</projectUrl>
11+
<requireLicenseAcceptance>false</requireLicenseAcceptance>
12+
<description>$description$</description>
13+
<releaseNotes>Initial release.</releaseNotes>
14+
<copyright>Copyright © Alexander Rosolko 2016</copyright>
15+
</metadata>
16+
</package>

appveyor.yml

Lines changed: 85 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,85 @@
1+
# Notes:
2+
# - Minimal appveyor.yml file is an empty file. All sections are optional.
3+
# - Indent each level of configuration with 2 spaces. Do not use tabs!
4+
# - All section names are case-sensitive.
5+
# - Section names should be unique on each level.
6+
7+
# Base Sample: http://www.appveyor.com/docs/appveyor-yml
8+
9+
#---------------------------------#
10+
# general configuration #
11+
#---------------------------------#
12+
13+
# version format
14+
version: 1.0.{build}
15+
16+
# branches to build
17+
branches:
18+
# whitelist
19+
only:
20+
- master
21+
22+
#---------------------------------#
23+
# environment configuration #
24+
#---------------------------------#
25+
26+
# Operating system (build VM template)
27+
os: Windows Server 2012
28+
29+
# build cache to preserve files/folders between builds
30+
cache:
31+
- packages -> **\packages.config
32+
33+
# enable patching of AssemblyInfo.* files
34+
assembly_info:
35+
patch: true
36+
file: AssemblyInfo.*
37+
assembly_version: "{version}"
38+
assembly_file_version: "{version}"
39+
assembly_informational_version: "{version}"
40+
41+
# Automatically register private account and/or project AppVeyor NuGet feeds.
42+
nuget:
43+
account_feed: true
44+
project_feed: true
45+
46+
#---------------------------------#
47+
# build configuration #
48+
#---------------------------------#
49+
50+
# build platform, i.e. x86, x64, Any CPU. This setting is optional.
51+
platform: Any CPU
52+
53+
# build Configuration, i.e. Debug, Release, etc.
54+
configuration: Release
55+
56+
build:
57+
project: WebDriverManager.sln
58+
publish_nuget: true
59+
60+
#---------------------------------#
61+
# artifacts configuration #
62+
#---------------------------------#
63+
artifacts:
64+
# pushing a single file
65+
- path: '**\*.nupkg'
66+
67+
#---------------------------------#
68+
# deployment configuration #
69+
#---------------------------------#
70+
71+
# Deploying to NuGet feed
72+
deploy:
73+
- provider: NuGet
74+
api_key:
75+
secure: D8ifSz8AjRvRMgbubGMgWyDiIZP1xwxAbY4iD0qtEcWrmKMdgCg3M/CuB9io8coK
76+
artifact: /.*\.symbols\.nupkg/
77+
78+
# Deploy to GitHub Releases
79+
- provider: GitHub
80+
artifact: /.*\.nupkg/
81+
draft: false
82+
prerelease: false
83+
on:
84+
branch: master
85+
appveyor_repo_tag: true

0 commit comments

Comments
 (0)