Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion DEVELOPMENT.md
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ Before publishing to production PyPI, test with TestPyPI:
./publish-test.sh

# Install from TestPyPI to verify
pip install --index-url https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple/ tonic-fabricate==1.2.0
pip install --index-url https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple/ tonic-fabricate==1.3.0

# Test the installed package
python -c "from tonic_fabricate import generate, run_workflow, AgentEvalsClient; print('Package works!')"
Expand Down
10 changes: 6 additions & 4 deletions publishing.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Your package is **ready for publication**! The package structure includes:
- Proper package structure with `tonic_fabricate/`
- README.md with usage documentation
- MANIFEST.in for including additional files
- Version management (currently v1.2.0)
- Version management (currently v1.3.0)
- Package name: `tonic-fabricate`
- Import name: `tonic_fabricate`

Expand Down Expand Up @@ -45,6 +45,8 @@ You'll need accounts on:

#### **3. Update Version Number (if needed)**

> **GitHub Actions does this for you.** A release publish sets both values below from the release tag on the runner, so you only need the manual bump for local publishing (`./publish.sh`, `./publish-test.sh`) and to keep `main` in sync with what was released.

The version lives in **two places** that must be kept in sync:

```toml
Expand All @@ -60,9 +62,9 @@ __version__ = "x.y.z"
**Quick update command:**

```bash
# Example: Update from 1.2.0 to 1.2.1
sed -i '' 's/version = "1.2.0"/version = "1.2.1"/' pyproject.toml
sed -i '' 's/__version__ = "1.2.0"/__version__ = "1.2.1"/' tonic_fabricate/__init__.py
# Example: Update from 1.3.0 to 1.3.1
sed -i '' 's/version = "1.3.0"/version = "1.3.1"/' pyproject.toml
sed -i '' 's/__version__ = "1.3.0"/__version__ = "1.3.1"/' tonic_fabricate/__init__.py

# Verify the change
grep '^version = ' pyproject.toml
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"

[project]
name = "tonic-fabricate"
version = "1.2.0"
version = "1.3.0"
description = "Official Python client for Tonic Fabricate. Generate synthetic data and run workflows from code."
authors = [{name = "Fabricate Tools"}]
readme = "README.md"
Expand Down
2 changes: 1 addition & 1 deletion tonic_fabricate/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
UpsertTaskInput,
)

__version__ = "1.2.0"
__version__ = "1.3.0"

__all__ = [
"generate",
Expand Down
Loading