Automate the execution of cog via `justfile`
brettcannon opened this issue · comments
Brett Cannon commented
runpy
is your friend: python -m cogapp -D VERSION=${{ needs.details.outputs.version }} -D TAG=${{ needs.details.outputs.tag }} -P -r README.md
There shouldn't be any need to provide input to cog for working with https://github.com/brettcannon/python-launcher/blob/main/docs/install.md as that info should be available either via Cargo.toml
or the GitHub APIs to get the latest release (e.g. gh release view --repo brettcannon/python-launcher --json tagName
or the REST API).
Brett Cannon commented