[Release] Update should-release

This commit is contained in:
Akkadius 2023-02-16 13:23:53 -06:00
parent 717fe7dc8c
commit 6a6045a21c
3 changed files with 1 additions and 7 deletions

View File

@ -72,13 +72,7 @@ func main() {
}
if len(os.Getenv("RCLONE_FTP_PASS")) == 0 {
fmt.Printf("Missing RCLONE_FTP_PASS no need to deploy\n")
fmt.Printf("Exiting code 78 to halt pipeline steps gracefully\n")
os.Exit(78)
}
if len(os.Getenv("GH_RELEASE_GITHUB_API_TOKEN")) == 0 {
fmt.Printf("Missing GH_RELEASE_GITHUB_API_TOKEN no need to deploy\n")
fmt.Printf("Missing RCLONE_FTP_PASS no need to release\n")
fmt.Printf("Exiting code 78 to halt pipeline steps gracefully\n")
os.Exit(78)
}