forked from unic/sitecore-module-configuration
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathappveyor.yml
More file actions
54 lines (43 loc) · 1.6 KB
/
appveyor.yml
File metadata and controls
54 lines (43 loc) · 1.6 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
version: '{build}'
image: Visual Studio 2015
environment:
RepoName: sitecore-module-profiling
NuGetToken:
secure: jhODVb/iVko3b4Y9p1tOMP9LeDy6OQEYePDIDT6lfAOgNnJixjJpJBAJj/gtkDLc
Artefact_Output_Dir: .\output
GithubEmail: [email protected]
GithubUsername: team-unic
GithubAccessTokenTeamUnic:
secure: BCEthL/NRFeg5eKK9CgmwbySILxWjMUjpvExHC0oGl1jjAT4kMBAohzh9m/xsVDh
install:
- choco install gitversion.portable -y
- ps: gitversion /l console /output buildserver
# Setup GIT
- git config --global user.email %GithubEmail%
- git config --global user.name %GithubUsername%
- git config --global push.default simple
- git config --global core.autocrlf true
- git config --global core.safecrlf false
- git config --global credential.helper store
configuration: Release
assembly_info:
patch: false
before_build:
- nuget restore
- ps: gitversion /l console /output buildserver /updateAssemblyInfo
build:
verbosity: normal
after_build:
- cmd: nuget pack .\src\Unic.Configuration.Core\Unic.Configuration.Core.csproj -version "%GitVersion_NuGetVersionV2%" -prop "target=%CONFIGURATION%"
- cmd: appveyor PushArtifact "Unic.Configuration.Core.%GitVersion_NuGetVersionV2%.nupkg"
- cmd: nuget pack .\src\Unic.Configuration.Website\Unic.Configuration.Website.csproj -version "%GitVersion_NuGetVersionV2%" -prop "target=%CONFIGURATION%"
- cmd: appveyor PushArtifact "Unic.Configuration.%GitVersion_NuGetVersionV2%.nupkg"
deploy:
- provider: Environment
name: NuGet.org
on:
branch: main
- provider: Environment
name: NuGet.org
on:
APPVEYOR_REPO_TAG: true