Skip to content

Commit 3e48972

Browse files
committed
Rename VSIX file
1 parent 0746278 commit 3e48972

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

.github/workflows/release.yaml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,9 +60,14 @@ jobs:
6060
asset_path: ${{ env.VsixPath }}
6161
asset_name: Serial Monitor.vsix
6262
asset_content_type: binary/octet-stream
63+
- name: Rename VSIX file for publisher
64+
run: |
65+
$newPath = $env:VsixPath.Replace("Serial Monitor.vsix", "Serial_Monitor.vsix")
66+
Move-Item -Path $env:VsixPath -Destination $newPath
67+
echo "VsixPath=$newPath" >> $env:GITHUB_ENV
6368
- name: Publish extension to the Marketplace
6469
uses: cezarypiatek/VsixPublisherAction@0.1
6570
with:
66-
extension-file: ${{ steps.create_release.outputs.upload_url }}
71+
extension-file: ${{ format('{0}{1}{2}', '"', env.VsixPath, '"') }}
6772
publish-manifest-file: ${{ format('{0}{1}{2}', '"', env.VsixPublishManifestPath, '"') }}
6873
personal-access-code: ${{ secrets.VS_PUBLISHER_ACCESS_TOKEN }}

Serial Monitor/source.extension.vsixmanifest

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<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">
33
<Metadata>
4-
<Identity Id="Serial_Monitor.1e66c1bd-0d29-4781-8a46-fa6bee88c504" Version="1.2.19" Language="en-US" Publisher="Egor Grushko" />
4+
<Identity Id="Serial_Monitor.1e66c1bd-0d29-4781-8a46-fa6bee88c504" Version="1.2.20" Language="en-US" Publisher="Egor Grushko" />
55
<DisplayName>Serial Monitor</DisplayName>
66
<Description xml:space="preserve">Serial Port Monitor for Visual Studio</Description>
77
<MoreInfo>https://github.com/egorgrushko/SerialMonitorCDTest</MoreInfo>

0 commit comments

Comments
 (0)