Skip to content

Commit 3b488cc

Browse files
committed
Building a publishable package
1 parent b83887d commit 3b488cc

File tree

10 files changed

+87
-13
lines changed

10 files changed

+87
-13
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
A collection of simple Azure DevOps tasks for modifying configuration files.
1+
A collection of simple Azure DevOps tasks used by us that we are sharing.
22

33
See the Azure DevOps documentation to understand how to develop and test these extensions.
44

appcfg-settings-extension.json

Lines changed: 23 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,38 @@
22
"manifestVersion": 1,
33
"id": "appcfg-settings",
44
"name": "Update .NET XML Config Settings",
5-
"version": "0.1.0",
5+
"version": "1.0.0",
66
"publisher": "rezStream",
7+
"galleryFlags": [
8+
"Public"
9+
],
710
"targets": [
811
{
912
"id": "Microsoft.VisualStudio.Services"
1013
}
1114
],
12-
"description": "Updates .NET app.config and web.config settings.",
15+
"description": "Updates .NET app.config and web.config settings from variables.",
1316
"categories": [
1417
"Azure Pipelines"
1518
],
19+
"tags": [
20+
"app.config",
21+
"web.config",
22+
"variable",
23+
"replace"
24+
],
25+
"content": {
26+
"details": {
27+
"path": "appcfg-settings/overview.md"
28+
},
29+
"license": {
30+
"path": "LICENSE"
31+
}
32+
},
33+
"repository": {
34+
"type": "git",
35+
"uri": "https://github.com/RezStream/rezStream-azure-devops-tasks"
36+
},
1637
"icons": {
1738
"default": "images/icon.png"
1839
},

appcfg-settings/overview.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
This extension will update appSettings and connectionStrings within one .NET XML config file from variables that match each elements key or name attribute.
2+
The XML updates will be applied to the file using a DOM library instead of token replacement, so values such as `&` will be escaped for you by this tool.
3+
Your formatting and line breaks will probably be butchered 🤷.
4+
Real simple, nothing fancy.

appcfg-settings/task.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
"Release"
1313
],
1414
"version": {
15-
"Major": 0,
16-
"Minor": 1,
15+
"Major": 1,
16+
"Minor": 0,
1717
"Patch": 0
1818
},
1919
"instanceNameFormat": "Update XML Config Settings $(targetFilePath)",

cscfg-settings-extension.json

Lines changed: 24 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,39 @@
11
{
22
"manifestVersion": 1,
33
"id": "cscfg-settings",
4-
"name": "Update Azure Cloud Service CS Config Settings",
5-
"version": "0.5.0",
4+
"name": "Update Azure Cloud Service Config Settings",
5+
"version": "1.0.0",
66
"publisher": "rezStream",
7+
"galleryFlags": [
8+
"Public"
9+
],
710
"targets": [
811
{
912
"id": "Microsoft.VisualStudio.Services"
1013
}
1114
],
12-
"description": "Updates Azure Cloud Service CS Config Settings.",
15+
"description": "Updates Azure Cloud Service config settings from variables.",
1316
"categories": [
1417
"Azure Pipelines"
1518
],
19+
"tags": [
20+
"cscfg",
21+
"cloud service",
22+
"variable",
23+
"replace"
24+
],
25+
"content": {
26+
"details": {
27+
"path": "cscfg-settings/overview.md"
28+
},
29+
"license": {
30+
"path": "LICENSE"
31+
}
32+
},
33+
"repository": {
34+
"type": "git",
35+
"uri": "https://github.com/RezStream/rezStream-azure-devops-tasks"
36+
},
1637
"icons": {
1738
"default": "images/icon.png"
1839
},

cscfg-settings/overview.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
This extension will update a Cloud Config cscfg file from variables that match each Setting element's name attribute.
2+
The XML updates will be applied to the file using a DOM library instead of token replacement, so values such as `&` will be escaped for you by this tool.
3+
Your formatting and line breaks will probably be butchered 🤷.
4+
Real simple, nothing fancy.

cscfg-settings/task.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
"Release"
1313
],
1414
"version": {
15-
"Major": 0,
16-
"Minor": 5,
15+
"Major": 1,
16+
"Minor": 0,
1717
"Patch": 0
1818
},
1919
"instanceNameFormat": "Update CS Config Settings $(targetFilePath)",

cscfg-vnetsite-extension.json

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,11 @@
22
"manifestVersion": 1,
33
"id": "cscfg-vnetsite",
44
"name": "Azure Cloud Services Config VirtualNetworkSite Override",
5-
"version": "0.5.0",
5+
"version": "1.0.0",
66
"publisher": "rezStream",
7+
"galleryFlags": [
8+
"Public"
9+
],
710
"targets": [
811
{
912
"id": "Microsoft.VisualStudio.Services"
@@ -13,6 +16,23 @@
1316
"categories": [
1417
"Azure Pipelines"
1518
],
19+
"tags": [
20+
"cscfg",
21+
"cloud service",
22+
"VirtualNetworkSite"
23+
],
24+
"content": {
25+
"details": {
26+
"path": "cscfg-vnetsite/overview.md"
27+
},
28+
"license": {
29+
"path": "LICENSE"
30+
}
31+
},
32+
"repository": {
33+
"type": "git",
34+
"uri": "https://github.com/RezStream/rezStream-azure-devops-tasks"
35+
},
1636
"icons": {
1737
"default": "images/icon.png"
1838
},

cscfg-vnetsite/overview.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
This extension will override a Cloud Service cscfg file's VirtualNetworkSite name attribute.
2+
The XML updates will be applied to the file using a DOM library instead of token replacement, so values such as `&` will be escaped for you by this tool.
3+
Your formatting and line breaks will probably be butchered 🤷.
4+
Real simple, nothing fancy.

cscfg-vnetsite/task.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
"Release"
1313
],
1414
"version": {
15-
"Major": 0,
16-
"Minor": 5,
15+
"Major": 1,
16+
"Minor": 0,
1717
"Patch": 0
1818
},
1919
"instanceNameFormat": "Transform CS Config VirtualNetworkSite $(targetFilePath)",

0 commit comments

Comments
 (0)