forked from chocolatey/choco
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(chocolateyGH-331) add transform and config to upgrade pkg
- Loading branch information
1 parent
e5eb7fc
commit 5681028
Showing
4 changed files
with
19 additions
and
1 deletion.
There are no files selected for viewing
10 changes: 10 additions & 0 deletions
10
src/chocolatey.tests.integration/context/upgradepackage/tools/console.exe.config
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> |
8 changes: 8 additions & 0 deletions
8
src/chocolatey.tests.integration/context/upgradepackage/tools/console.exe.config.install.xdt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 modified
BIN
+823 Bytes
(120%)
src/chocolatey.tests.integration/context/upgradepackage/upgradepackage.1.0.0.nupkg
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters