Skip to content
This repository was archived by the owner on Feb 10, 2024. It is now read-only.

Commit b64d321

Browse files
committed
AppVeyor: Enabled NuGet/MyGet deployments
Enabled caching of NuGet packages
1 parent b94c82c commit b64d321

File tree

2 files changed

+23
-20
lines changed

2 files changed

+23
-20
lines changed

appveyor.yml

Lines changed: 22 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,14 @@
11
# version format
2-
version: 0.2.0.{build}
2+
version: 0.3.0.{build}
33

44
# UMBRACO_PACKAGE_PRERELEASE_SUFFIX if a rtm release build this should be blank, otherwise if empty will default to alpha
55
# example UMBRACO_PACKAGE_PRERELEASE_SUFFIX=beta
66
init:
77
- set UMBRACO_PACKAGE_PRERELEASE_SUFFIX=
88

9+
cache:
10+
- src\packages -> **\packages.config # preserve "packages" directory in the root of build folder but will reset it if packages.config is modified
11+
912
build_script:
1013
- build-appveyor.cmd
1114

@@ -14,15 +17,15 @@ artifacts:
1417
- path: artifacts\*.zip
1518

1619
deploy:
17-
# # MyGet Deployment for builds & releases
18-
# - provider: NuGet
19-
# server: https://www.myget.org/F/name/
20-
# symbol_server: https://nuget.symbolsource.org/MyGet/name
21-
# api_key:
22-
# secure:
23-
# artifact: /.*\.nupkg/
24-
# on:
25-
# branch: develop
20+
# MyGet Deployment for builds & releases
21+
- provider: NuGet
22+
server: https://www.myget.org/F/umbraco-packages/
23+
symbol_server: https://nuget.symbolsource.org/MyGet/umbraco-packages
24+
api_key:
25+
secure: Q1/4K8VSwr7BjwmKDTef8y5lOc7S+jK9ELuWy67y6OVRpjxmnF9M3Gfs1kT+ir8x
26+
artifact: /.*\.nupkg/
27+
on:
28+
branch: develop
2629

2730
# GitHub Deployment for releases
2831
- provider: GitHub
@@ -35,12 +38,12 @@ deploy:
3538
branch: master
3639
appveyor_repo_tag: true # deploy on tag push only
3740

38-
# # NuGet Deployment for releases
39-
# - provider: NuGet
40-
# server:
41-
# api_key:
42-
# secure:
43-
# artifact: /.*\.nupkg/
44-
# on:
45-
# branch: master
46-
# appveyor_repo_tag: true
41+
# NuGet Deployment for releases
42+
- provider: NuGet
43+
server:
44+
api_key:
45+
secure: CGzDKxw4QI/z2VSe9ceiYlIabqGXHolgBgVNWWZjVAJ2V5WLF11IFdlp9r5Qp+Sw
46+
artifact: /.*\.nupkg/
47+
on:
48+
branch: master
49+
appveyor_repo_tag: true

build/package.proj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@
123123
<PluginFiles Include="$(CoreProjectDir)\Web\UI\**\*.*" />
124124
<PackageFile Include="$(MSBuildProjectDirectory)\package.xml" />
125125
<NuSpecFile Include="$(MSBuildProjectDirectory)\package.nuspec" />
126-
<NugetReadme Include="$(MSBuildProjectDirectory)\Readme.txt" />
126+
<NugetReadme Include="$(MSBuildProjectDirectory)\readme.txt" />
127127
<InstallPsFile Include="$(MSBuildProjectDirectory)\install.ps1" />
128128
</ItemGroup>
129129
<Copy SourceFiles="@(BinFiles)" DestinationFolder="$(BuildUmbDir)\bin" />

0 commit comments

Comments
 (0)