Skip to content

Commit

Permalink
Add and clarify final steps in release.py
Browse files Browse the repository at this point in the history
And a fun little message at the end that reflects the usual mood around
releases.
  • Loading branch information
garfieldnate committed Jun 28, 2024
1 parent 503fde8 commit 635a487
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions release.py
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ def check():
def manual_pdf(step: Step):
print(
(
f"Step {step.value}: Grab the latest manual build from this "
f"Step {step.value}: Grab the latest SoarManual build from this "
"repository's GH Actions artifacts and place it in pdf/."
)
)
Expand Down Expand Up @@ -239,7 +239,7 @@ def run_soar_shuffler(step: Step):
"between runs, just to make sure you aren't keeping any old files in the release."
)
)
step.proceed(check_function=lambda: SOAR_SHUFFLER_OUTPUT_DIR.resolve(strict=True))
step.proceed(check_function=lambda: (SOAR_SHUFFLER_OUTPUT_DIR/f"SoarSuite_{SOAR_RELEASE_VERSION}-Multiplatform.zip").resolve(strict=True))


def inspect_release(step: Step):
Expand Down Expand Up @@ -304,6 +304,11 @@ def main(args):
gather_jars(step_counter)
run_soar_shuffler(step_counter)
inspect_release(step_counter)
upload_to_github(step_counter)
git_tag(step_counter)
update_website(step_counter)

print("Release complete! 🎊🥳🥂, 😪🛌😴")


if __name__ == "__main__":
Expand Down

0 comments on commit 635a487

Please sign in to comment.