make-release
Make release
This skill prepares a new release of the web3-ethereum-defi package.
Required inputs
- Version number - The version string for the new release (e.g.,
1.1,2.0)
Steps
1. Update version in pyproject.toml
Edit the version field in pyproject.toml to the new version number.
2. Update CHANGELOG.md
- Find the
# Currentheading inCHANGELOG.md - Rename it to
# {version}(the new version number) - Append today's date in parentheses to every changelog entry in that section that is missing a date
- Insert a new
# Currentsection at the very top of the file with a single placeholder entry:
# Current
- TODO
# {version}
...existing entries...
3. Create a git commit
Create a commit with the message Preparing a release. Push to the master.
4. Build the package
Run:
poetry build
Verify the build succeeds and the output .tar.gz and .whl filenames contain the correct version number.
5. Prompt the user
After a successful build, tell the user:
Release {version} built successfully. Please upload to PyPI manually.
More from tradingstrategy-ai/web3-ethereum-defi
get-block-number
Get the latest block number for a blockchain using Web3.py and JSON-RPC environment variables
68extract-project-logo
Extract a project's logo from its website, brand kit, or other sources
64check-vault-onchain
Check our feature flagging against an onchain vault
63more-vaults
Add more vault smart contract types to an existing protocol
60add-vault-note
Add a note to specific vault
59fix-sphix-docs
Fix errors and warnings in Sphinx docs build
58