Skip to content

Commit

Permalink
Merge pull request #8 from steinerd/bugfix/marketplace-deploy
Browse files Browse the repository at this point in the history
build automatically appends version now.
  • Loading branch information
steinerd authored Oct 2, 2022
2 parents 01552a5 + 33feb7e commit 2d3af13
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion LoupedeckPackage.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
type: plugin4
name: Webhooks
displayName: Webhooks
version: 1.0.1
version: x.x.x
author: Steinerd.com
copyright: Copyright (c) 2022 Anthony Steiner

Expand Down
2 changes: 2 additions & 0 deletions build-plugin.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ New-Item -Path "$buildPath" -Force -Name "bin" -ItemType "directory" > $null
New-Item -Path "$buildPath" -Force -Name "metadata" -ItemType "directory" > $null

Copy-Item "$loupedeckYaml" -Force -Destination "$buildPath\metadata\$loupedeckYaml" > $null
((Get-Content -Path "$buildPath\metadata\$loupedeckYaml" -Raw) -replace 'x.x.x', $version) | Set-Content "$buildPath\metadata\$loupedeckYaml"

Copy-Item "$($project)Plugin\Resources\256.png" -Force -Destination "$buildPath\metadata\256.png" > $null
Copy-Item "$dllPath\$dllName" -Force -Destination "$buildPath\bin\$dllName" > $null

Expand Down

0 comments on commit 2d3af13

Please sign in to comment.