We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2bc1771 commit 9be9302Copy full SHA for 9be9302
.github/workflows/ci.yml
@@ -68,7 +68,19 @@ jobs:
68
69
foreach ($plugin in $dirs.Keys) {
70
$sourcePath = $dirs[$plugin]
71
- plugintool pack -s $sourcePath -o "$sourcePath/$plugin.ptix"
+ $pluginManifestPath = "$sourcePath/pluginManifest.json"
72
+
73
+ if (!(Test-Path $pluginManifestPath)) {
74
+ Write-Error "pluginManifest.json not found in $sourcePath"
75
+ }
76
77
+ $pluginManifest = Get-Content -Path $pluginManifestPath | ConvertFrom-Json
78
79
+ $pluginId = $pluginManifest.identity.id
80
+ $pluginVersion = $pluginManifest.identity.version
81
+ $packageName = "$pluginId-$pluginVersion.ptix"
82
83
+ plugintool pack -s $sourcePath -o "$sourcePath/$packageName"
84
}
85
86
- name: Copy files and prepare artifacts
0 commit comments