Skip to content

Commit

Permalink
(chocolateyGH-331) add transform and config to upgrade pkg
Browse files Browse the repository at this point in the history
  • Loading branch information
ferventcoder committed Jun 16, 2015
1 parent e5eb7fc commit 5681028
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<?xml version="1.0"?>
<configuration>
<appSettings>
<add key="test" value="default 1.0.0"/>
<add key="testReplace" value="default 1.0.0"/>
</appSettings>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/>
</startup>
</configuration>
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?xml version="1.0"?>
<configuration xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform">
<appSettings xdt:Transform="InsertIfMissing">
<add key="test" value="1.0.0" xdt:Locator="Match(key)" xdt:Transform="InsertIfMissing" />
<add key="testReplace" value="1.0.0" xdt:Locator="Match(key)" xdt:Transform="Replace"/>
<add key="insert" value="1.0.0" xdt:Locator="Match(key)" xdt:Transform="InsertIfMissing"/>
</appSettings>
</configuration>
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<!-- Read this before publishing packages to chocolatey.org: https://github.com/chocolatey/chocolatey/wiki/CreatePackages -->
<id>upgradepackage</id>
<title>upgradepackage</title>
<version>1.1.0</version>
<version>1.0.0</version>
<authors>__REPLACE_AUTHORS_OF_SOFTWARE__</authors>
<owners>__REPLACE_YOUR_NAME__</owners>
<summary>__REPLACE__</summary>
Expand Down

0 comments on commit 5681028

Please sign in to comment.