Skip to content

Commit

Permalink
add script description
Browse files Browse the repository at this point in the history
  • Loading branch information
bdattoma committed Aug 7, 2024
1 parent 897fdb3 commit 7f8b26c
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions ods_ci/utils/scripts/detect_rc.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
"""
The script compares the given build date (e.g. received in the UMB message) and
the code freeze date which is reported in Smartsheet.
If the date is over the the code freeze, the build is considered a Release Candidate.
Output:
- returns code 0 if the build is RC
- returns code 1 if the build is NOT RC
"""

import argparse
from datetime import datetime
import smartsheet
Expand Down

0 comments on commit 7f8b26c

Please sign in to comment.