Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
b247d3dfec
|
|||
e36be96f4f
|
@ -22,6 +22,22 @@ changelog:
|
|||||||
exclude:
|
exclude:
|
||||||
- '^docs:'
|
- '^docs:'
|
||||||
- '^test:'
|
- '^test:'
|
||||||
|
signs:
|
||||||
|
- id: selfupdatesign
|
||||||
|
|
||||||
|
# path to the signature command
|
||||||
|
#
|
||||||
|
# defaults to `gpg`
|
||||||
|
cmd: openssl
|
||||||
|
|
||||||
|
# command line templateable arguments for the command
|
||||||
|
#
|
||||||
|
# to sign with a specific key use
|
||||||
|
# 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}"]
|
||||||
|
artifacts: all
|
||||||
gitea_urls:
|
gitea_urls:
|
||||||
api: https://git.lbsfilm.at/api/v1/
|
api: https://git.lbsfilm.at/api/v1/
|
||||||
download: https://git.lbsfilm.at
|
download: https://git.lbsfilm.at
|
||||||
|
2
main.go
2
main.go
@ -19,7 +19,7 @@ func main() {
|
|||||||
fmt.Println("provide a command")
|
fmt.Println("provide a command")
|
||||||
os.Exit(1)
|
os.Exit(1)
|
||||||
} else if os.Args[1] == "upgrade" || os.Args[1] == "up" {
|
} else if os.Args[1] == "upgrade" || os.Args[1] == "up" {
|
||||||
fmt.Print("Trying Upgrade... ")
|
fmt.Println("Trying Upgrade... ")
|
||||||
err := update(gitTag)
|
err := update(gitTag)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
fmt.Println(err)
|
fmt.Println(err)
|
||||||
|
Reference in New Issue
Block a user