Skip to content

Commit 6a6045a

Browse files
committed
[Release] Update should-release
1 parent 717fe7d commit 6a6045a

File tree

3 files changed

+1
-7
lines changed

3 files changed

+1
-7
lines changed

utils/scripts/build/should-release/main.go

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -72,13 +72,7 @@ func main() {
7272
}
7373

7474
if len(os.Getenv("RCLONE_FTP_PASS")) == 0 {
75-
fmt.Printf("Missing RCLONE_FTP_PASS no need to deploy\n")
76-
fmt.Printf("Exiting code 78 to halt pipeline steps gracefully\n")
77-
os.Exit(78)
78-
}
79-
80-
if len(os.Getenv("GH_RELEASE_GITHUB_API_TOKEN")) == 0 {
81-
fmt.Printf("Missing GH_RELEASE_GITHUB_API_TOKEN no need to deploy\n")
75+
fmt.Printf("Missing RCLONE_FTP_PASS no need to release\n")
8276
fmt.Printf("Exiting code 78 to halt pipeline steps gracefully\n")
8377
os.Exit(78)
8478
}
Binary file not shown.
Binary file not shown.

0 commit comments

Comments
 (0)