Skip to content

Commit

Permalink
Add publish manifest file for each deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
gandarez committed Feb 3, 2024
1 parent 8cc9d45 commit 95861b0
Show file tree
Hide file tree
Showing 6 changed files with 88 additions and 63 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/on_push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,9 @@ jobs:
-
name: Update version
run: |
(Get-Content -Path Dev16\source.extension.vsixmanifest) |
(Get-Content -Path Dev16\publishManifest.json) |
ForEach-Object {$_ -Replace '1.0.0', '${{ needs.version.outputs.semver }}'} |
Set-Content -Path Dev16\source.extension.vsixmanifest
Set-Content -Path Dev16\publishManifest.json
(Get-Content -Path Dev16\Properties\AssemblyInfo.cs) |
ForEach-Object {$_ -Replace '1.0.0', '${{ needs.version.outputs.semver }}'} |
Set-Content -Path Dev16\Properties\AssemblyInfo.cs
Expand Down Expand Up @@ -118,9 +118,9 @@ jobs:
-
name: Update version
run: |
(Get-Content -Path Dev17\source.extension.vsixmanifest) |
(Get-Content -Path Dev17\publishManifest.json) |
ForEach-Object {$_ -Replace '1.0.0', '${{ needs.version.outputs.semver }}'} |
Set-Content -Path Dev17\source.extension.vsixmanifest
Set-Content -Path Dev17\publishManifest.json
(Get-Content -Path Dev17\Properties\AssemblyInfo.cs) |
ForEach-Object {$_ -Replace '1.0.0', '${{ needs.version.outputs.semver }}'} |
Set-Content -Path Dev17\Properties\AssemblyInfo.cs
Expand Down Expand Up @@ -165,7 +165,7 @@ jobs:
uses: cezarypiatek/[email protected]
with:
extension-file: ${{ github.workspace }}\build\WakaTime.Dev16.vsix\WakaTime.Dev16.vsix
publish-manifest-file: publishManifest.json
publish-manifest-file: Dev16\publishManifest.json
personal-access-code: ${{ secrets.VS_PUBLISHER_ACCESS_TOKEN }}

publish-dev17:
Expand All @@ -187,7 +187,7 @@ jobs:
uses: cezarypiatek/[email protected]
with:
extension-file: ${{ github.workspace }}\build\WakaTime.Dev17.vsix\WakaTime.Dev17.vsix
publish-manifest-file: publishManifest.json
publish-manifest-file: Dev17\publishManifest.json
personal-access-code: ${{ secrets.VS_PUBLISHER_ACCESS_TOKEN }}

release:
Expand Down
49 changes: 49 additions & 0 deletions Dev16/publishManifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
{
"$schema": "http://json.schemastore.org/vsix-publish",
"categories": [ "coding", "reporting", "programming languages" ],
"identity": {
"internalName": "WakaTime",
"displayName": "WakaTime",
"description": "Metrics, insights, and time tracking automatically generated from your programming activity.",
"tags": [ "Analytics", "Coding","Productivity", "Productivity Tool", "Time Tracking", "Timer", "Code Time", "Metrics", "Time Tracker", "Reports" ],
"vsixId": "52d9c3ff-c893-408e-95e4-d7484ec7fa47",
"version": "1.0.0",
"installTargets": [
{
"sku": "Microsoft.VisualStudio.Community",
"version": "[15.0,17.0)"
},
{
"sku": "Microsoft.VisualStudio.Pro",
"version": "[15.0,17.0)"
},
{
"sku": "Microsoft.VisualStudio.Enterprise",
"version": "[15.0,17.0)"
},
{
"sku": "Microsoft.VisualStudio.IntegratedShell",
"version": "[15.0,17.0)"
},
{
"sku": "Microsoft.VisualStudio.Ultimate",
"version": "[15.0,17.0)"
},
{
"sku": "Microsoft.VisualStudio.Premium",
"version": "[15.0,17.0)"
},
{
"sku": "Microsoft.VisualStudio.VSLS",
"version": "[15.0,17.0)"
}
]
},

"overview": "OVERVIEW.md",
"priceCategory": "free",
"publisher": "WakaTime",
"private": false,
"qna": true,
"repo": "https://github.com/wakatime/visualstudio-wakatime"
}
21 changes: 0 additions & 21 deletions Dev16/source.extension.vsixmanifest
Original file line number Diff line number Diff line change
@@ -1,26 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<PackageManifest Version="2.0.0" xmlns="http://schemas.microsoft.com/developer/vsx-schema/2011" xmlns:d="http://schemas.microsoft.com/developer/vsx-schema-design/2011">
<Metadata>
<Identity Publisher="WakaTime" Version="1.0.0" Id="52d9c3ff-c893-408e-95e4-d7484ec7fa47" Language="en-US" />
<DisplayName>WakaTime</DisplayName>
<Description xml:space="preserve">Metrics, insights, and time tracking automatically generated from your programming activity.</Description>
<MoreInfo>https://github.com/wakatime/visualstudio-wakatime</MoreInfo>
<License>LICENSE</License>
<Icon>Assets\wakatime-120.png</Icon>
<PreviewImage>Assets\dashboard.png</PreviewImage>
<Tags>metrics, time tracker, productivity, reports</Tags>
</Metadata>

<Installation>
<InstallationTarget Version="[15.0,17.0)" Id="Microsoft.VisualStudio.Community" />
<InstallationTarget Version="[15.0,17.0)" Id="Microsoft.VisualStudio.Pro" />
<InstallationTarget Version="[15.0,17.0)" Id="Microsoft.VisualStudio.Enterprise" />
<InstallationTarget Version="[15.0,17.0)" Id="Microsoft.VisualStudio.IntegratedShell" />
<InstallationTarget Version="[15.0,17.0)" Id="Microsoft.VisualStudio.Ultimate" />
<InstallationTarget Version="[15.0,17.0)" Id="Microsoft.VisualStudio.Premium" />
<InstallationTarget Version="[15.0,17.0)" Id="Microsoft.VisualStudio.VSLS" />
</Installation>

<Dependencies>
<Dependency Id="Microsoft.Framework.NDP" DisplayName="Microsoft .NET Framework" d:Source="Manual" Version="[4.8,)" />
<Dependency Id="Microsoft.VisualStudio.MPF.14.0" DisplayName="Visual Studio MPF 14.0" d:Source="Installed" Version="[14.0,17.0)" />
Expand Down
33 changes: 33 additions & 0 deletions Dev17/publishManifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
{
"$schema": "http://json.schemastore.org/vsix-publish",
"categories": [ "coding", "reporting", "programming languages" ],
"identity": {
"internalName": "WakaTime",
"displayName": "WakaTime",
"description": "Metrics, insights, and time tracking automatically generated from your programming activity.",
"tags": [ "Analytics", "Coding","Productivity", "Productivity Tool", "Time Tracking", "Timer", "Code Time", "Metrics", "Time Tracker", "Reports" ],
"vsixId": "41DB9DFA-9F21-45A4-B111-22FBD1C3AD94",
"version": "1.0.0",
"installTargets": [
{
"sku": "Microsoft.VisualStudio.Community",
"version": "[17.0,18.0)"
},
{
"sku": "Microsoft.VisualStudio.Pro",
"version": "[17.0,18.0)"
},
{
"sku": "Microsoft.VisualStudio.Enterprise",
"version": "[17.0,18.0)"
}
]
},

"overview": "OVERVIEW.md",
"priceCategory": "free",
"publisher": "WakaTime",
"private": false,
"qna": true,
"repo": "https://github.com/wakatime/visualstudio-wakatime"
}
23 changes: 0 additions & 23 deletions Dev17/source.extension.vsixmanifest
Original file line number Diff line number Diff line change
@@ -1,28 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<PackageManifest Version="2.0.0" xmlns="http://schemas.microsoft.com/developer/vsx-schema/2011" xmlns:d="http://schemas.microsoft.com/developer/vsx-schema-design/2011">
<Metadata>
<Identity Publisher="WakaTime" Version="1.0.0" Id="41DB9DFA-9F21-45A4-B111-22FBD1C3AD94" Language="en-US" />
<DisplayName>WakaTime</DisplayName>
<Description xml:space="preserve">Metrics, insights, and time tracking automatically generated from your programming activity.</Description>
<MoreInfo>https://github.com/wakatime/visualstudio-wakatime</MoreInfo>
<License>LICENSE</License>
<Icon>Assets\wakatime-120.png</Icon>
<PreviewImage>Assets\dashboard.png</PreviewImage>
<Tags>metrics, time tracker, productivity, reports</Tags>
</Metadata>

<Installation>
<InstallationTarget Id="Microsoft.VisualStudio.Community" Version="[17.0,18.0)">
<ProductArchitecture>amd64</ProductArchitecture>
</InstallationTarget>
<InstallationTarget Id="Microsoft.VisualStudio.Pro" Version="[17.0,18.0)">
<ProductArchitecture>amd64</ProductArchitecture>
</InstallationTarget>
<InstallationTarget Id="Microsoft.VisualStudio.Enterprise" Version="[17.0,18.0)">
<ProductArchitecture>amd64</ProductArchitecture>
</InstallationTarget>
</Installation>

<Dependencies>
<Dependency Id="Microsoft.Framework.NDP" DisplayName="Microsoft .NET Framework" d:Source="Manual" Version="[4.8,)" />
<Dependency Id="Microsoft.VisualStudio.MPF.16.0" DisplayName="Visual Studio MPF 16.0" d:Source="Installed" Version="[16.0,17.0)" />
Expand Down
13 changes: 0 additions & 13 deletions publishManifest.json

This file was deleted.

0 comments on commit 95861b0

Please sign in to comment.