Skip to content
This repository has been archived by the owner on Jul 14, 2023. It is now read-only.

Latest commit

 

History

History
46 lines (28 loc) · 1.26 KB

Readme.md

File metadata and controls

46 lines (28 loc) · 1.26 KB

Smash Hit Blender Tools Development Scripts

These are some utilities that make developing smash hit blender tools easier. They are part of a lot of the release workflow.

Files

create_release.py

When run, this will create a release using the settings in make_zip_config.json, and by default will mark only the prerelease branch for updates.

Usage when you want to use specific branch names:

python ./create_release.py branch_names optionally goes_here

So if you want to update prerelease and stable branches:

python ./create_release.py prerelease stable

sign_update.py

This will create a signature file for an SHBT update, given the path to the zip and the private key.

If you don't have a key pair, run:

python ./sign_update.py new-keys

to generate a new keypair. The public will go in the current dir and the private will go in the directory one level up in addition to having a random number appended to its name.

Then when you want to sign an update, run:

python ./sign_update.py /path/to/file/to/sign.zip /path/to/private.key

and the .zip.sig file will be generated!

Todo

  • Add zip_release.py for zipping a release
  • Add generate_release.py for zipping and signing a release in one command