Tags: #publish #package #ruby #php #python #go #js #javascript #rust #api #clients
The following steps describe the manual steps to take so you can publish a specific Fastly API client.
tag="v1.0.0-beta.0" && git tag -s $tag -m $tag && git push origin $tagtag="v3.0.0" && git tag -s $tag -m $tag && git push origin $tagnpm login and follow instructionsnpm publish --dry-run and check there are no errorsnpm publish to publish the module to https://www.npmjs.com/package/fastlyReference: https://docs.npmjs.com/cli/v9/commands/npm-publish
…
tag="v1.0.0" && git tag -s $tag -m $tag && git push origin $tagtag="v1.0.0" && git tag -s $tag -m $tag && git push origin $tagpython3 -m pip install --upgrade build && python3 -m build to build the packagepython3 -m pip install --upgrade twine && python3 -m twine upload --repository pypi dist/* to publish the package to https://pypi.org/project/fastly/Reference: https://packaging.python.org/en/latest/tutorials/packaging-projects/
tag="v4.0.0" && git tag -s $tag -m $tag && git push origin $taggem build fastly.gemspecgem push fastly-4.0.0.gemcargo login and following instructionscargo publish --dry-run and check there are no errorscargo publish to publish the crate to https://crates.io/crates/fastly-apiReference: https://doc.rust-lang.org/cargo/reference/publishing.html