✨ Release runner
This commit is contained in:
		@@ -19,6 +19,7 @@ type ProductRelease struct {
 | 
			
		||||
	Type       ProductReleaseType                              `json:"type"`
 | 
			
		||||
	Channel    string                                          `json:"channel"`
 | 
			
		||||
	Assets     datatypes.JSONType[map[string]ReleaseAsset]     `json:"assets"`
 | 
			
		||||
	Runners    datatypes.JSONType[map[string]ReleaseRunner]    `json:"runner"`
 | 
			
		||||
	Installers datatypes.JSONType[map[string]ReleaseInstaller] `json:"installers"`
 | 
			
		||||
 | 
			
		||||
	ProductID uint               `json:"product_id"`
 | 
			
		||||
@@ -50,3 +51,9 @@ type ReleaseInstallerPatch struct {
 | 
			
		||||
	Action string `json:"action" validate:"required"`
 | 
			
		||||
	Glob   string `json:"glob" validate:"required"`
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
type ReleaseRunner struct {
 | 
			
		||||
	Workdir string `json:"workdir"`
 | 
			
		||||
	Script  string `json:"script"`
 | 
			
		||||
	Label   string `json:"label"`
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user