Skip to content

Commit 2d3af13

Browse files
authored
Merge pull request #8 from steinerd/bugfix/marketplace-deploy
build automatically appends version now.
2 parents 01552a5 + 33feb7e commit 2d3af13

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

LoupedeckPackage.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
type: plugin4
22
name: Webhooks
33
displayName: Webhooks
4-
version: 1.0.1
4+
version: x.x.x
55
author: Steinerd.com
66
copyright: Copyright (c) 2022 Anthony Steiner
77

build-plugin.ps1

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ New-Item -Path "$buildPath" -Force -Name "bin" -ItemType "directory" > $null
1717
New-Item -Path "$buildPath" -Force -Name "metadata" -ItemType "directory" > $null
1818

1919
Copy-Item "$loupedeckYaml" -Force -Destination "$buildPath\metadata\$loupedeckYaml" > $null
20+
((Get-Content -Path "$buildPath\metadata\$loupedeckYaml" -Raw) -replace 'x.x.x', $version) | Set-Content "$buildPath\metadata\$loupedeckYaml"
21+
2022
Copy-Item "$($project)Plugin\Resources\256.png" -Force -Destination "$buildPath\metadata\256.png" > $null
2123
Copy-Item "$dllPath\$dllName" -Force -Destination "$buildPath\bin\$dllName" > $null
2224

0 commit comments

Comments
 (0)