mirror of
https://github.com/watchexec/watchexec.git
synced 2024-09-07 12:01:29 +02:00
27 lines
961 B
Plaintext
27 lines
961 B
Plaintext
|
{
|
||
|
dist_version: "0.0.2",
|
||
|
releases: [{
|
||
|
app_name: "watchexec",
|
||
|
app_version: $version,
|
||
|
changelog_title: "CLI \($version)",
|
||
|
artifacts: [ $files | split("\n") | .[] | {
|
||
|
name: .,
|
||
|
kind: (if (. | test("[.](deb|rpm)$")) then "installer" else "executable-zip" end),
|
||
|
target_triples: (. | [capture("watchexec-[^-]+-(?<target>[^.]+)[.].+").target]),
|
||
|
assets: ([[
|
||
|
{
|
||
|
kind: "executable",
|
||
|
name: (if (. | test("windows")) then "watchexec.exe" else "watchexec" end),
|
||
|
path: "\(
|
||
|
capture("(?<dir>watchexec-[^-]+-[^.]+)[.].+").dir
|
||
|
)\(
|
||
|
if (. | test("windows")) then "\\watchexec.exe" else "/watchexec" end
|
||
|
)",
|
||
|
},
|
||
|
(if (. | test("[.](deb|rpm)$")) then null else {kind: "readme", name: "README.md"} end),
|
||
|
(if (. | test("[.](deb|rpm)$")) then null else {kind: "license", name: "LICENSE"} end)
|
||
|
][] | select(. != null)])
|
||
|
} ]
|
||
|
}]
|
||
|
}
|