Skip to content

Commit

Permalink
[Release] Update should-release
Browse files Browse the repository at this point in the history
  • Loading branch information
Akkadius committed Feb 16, 2023
1 parent 717fe7d commit 6a6045a
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions utils/scripts/build/should-release/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand Down
Binary file modified utils/scripts/build/should-release/should-release
Binary file not shown.
Binary file modified utils/scripts/build/should-release/should-release.exe
Binary file not shown.

0 comments on commit 6a6045a

Please sign in to comment.