From 44dd44b6e32094ea7c03c7579ddf4c58f2bc877e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noah=20H=C3=BCsser?= Date: Fri, 5 May 2023 14:00:19 +0200 Subject: [PATCH 1/3] Bump versions --- README.md | 33 +++++++++++++++++++++++++++++++-- forged-py/pyproject.toml | 6 ++---- forged-rs/Cargo.toml | 2 +- 3 files changed, 34 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 911f3c4..49ca92d 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,33 @@ # Forged Tooling -* `forged-rs` is a Rust client for Forged.dev operations. -* `forged-cli` is a CLI tool (written in Rust) to interract with the forged.dev tooling. +- `forged-rs` is a Rust client for Forged.dev operations. +- `forged-cli` is a CLI tool (written in Rust) to interract with the forged.dev tooling. + +## Release a new version + +### Rust + +``` +cd forged-rs +# Bump crate version (make sure API incompatibilities are handled properly) +cargo publish +``` + +# Python + +``` +# Install the tooling to upload to pip +python -m pip install build twine +``` + +``` +cd forged-py +python -m build +twine check dist/* + +# Upload to TestPyPi to check +twine upload -r testpypi dist/* + +# Upload to rea PyPi to release +twine upload -r pypi dist/* +``` diff --git a/forged-py/pyproject.toml b/forged-py/pyproject.toml index 1e91e57..87f98e5 100644 --- a/forged-py/pyproject.toml +++ b/forged-py/pyproject.toml @@ -5,7 +5,7 @@ build-backend = "setuptools.build_meta" [project] name = "forged-client" description = "Forged.dev Client library" -version = "0.0.1" +version = "0.1.0" readme = "README.md" authors = [ { name = "Ryan Summers", email = "ryan.summers@vertigo-designs.com" }, @@ -20,9 +20,7 @@ classifiers = [ "Topic :: System :: Hardware", ] keywords = ["api", "client", "database", "embedded"] -dependencies = [ - "gql[all]" -] +dependencies = ["gql[all]"] [project.urls] Homepage = "https://forged.dev" diff --git a/forged-rs/Cargo.toml b/forged-rs/Cargo.toml index 3487b65..05a7cfa 100644 --- a/forged-rs/Cargo.toml +++ b/forged-rs/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "forged" -version = "0.2.1" +version = "0.3.0" edition = "2021" license = "MIT" authors = [ From c0e20e79f1d882ee8689b92c38495483ab860cc2 Mon Sep 17 00:00:00 2001 From: Ryan Summers Date: Fri, 5 May 2023 14:41:13 +0200 Subject: [PATCH 2/3] Update CHANGELOG.md --- forged-py/CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/forged-py/CHANGELOG.md b/forged-py/CHANGELOG.md index cdee587..b6047cb 100644 --- a/forged-py/CHANGELOG.md +++ b/forged-py/CHANGELOG.md @@ -5,7 +5,7 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). -## Unreleased +## 0.1.0 - 2023-05-05 ### Added * Support now added for querying uploaded blocks for the current run. From 7d8c57fa62efb74250afda4cc01a16033d1d042d Mon Sep 17 00:00:00 2001 From: Ryan Summers Date: Fri, 5 May 2023 14:41:33 +0200 Subject: [PATCH 3/3] Update CHANGELOG.md --- forged-rs/CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/forged-rs/CHANGELOG.md b/forged-rs/CHANGELOG.md index 35f6267..12c02d0 100644 --- a/forged-rs/CHANGELOG.md +++ b/forged-rs/CHANGELOG.md @@ -5,7 +5,7 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). -## Unreleased +## 0.3.0 - 2023-05-05 ### Added * Added a new `Client::blocks()` API to get the blocks for the current run