Compare commits

...

2 Commits

Author SHA1 Message Date
ab02d3a8ef
New version shortcut
Signed-off-by: Lukas Bachschwell <lukas@lbsfilm.at>
2021-01-09 17:49:51 +01:00
87e3294f23
fix openssl command
Signed-off-by: Lukas Bachschwell <lukas@lbsfilm.at>
2021-01-09 17:47:58 +01:00
2 changed files with 3 additions and 2 deletions

View File

@ -36,7 +36,8 @@ signs:
# args: ["-u", "<key id, fingerprint, email, ...>", "--output", "${signature}", "--detach-sign", "${artifact}"]
#
# defaults to `["--output", "${signature}", "--detach-sign", "${artifact}"]`
args: ["dgst", "-sha256", "-sign", "privkey.pem", "${artifact}.sig", "${artifact}"]
args: ["dgst", "-sha256", "-sign", "privkey.pem", "-out", "${artifact}.sig", "${artifact}"]
artifacts: all
gitea_urls:
api: https://git.lbsfilm.at/api/v1/

View File

@ -27,7 +27,7 @@ func main() {
} else {
fmt.Println("Success")
}
} else if os.Args[1] == "version" {
} else if os.Args[1] == "version" || os.Args[1] == "v" {
fmt.Print("Version ")
fmt.Println(gitTag)
} else {