Skip to content

Commit 49d0b1e

Browse files
committed
fix: semantic versioning
1 parent c9904a7 commit 49d0b1e

File tree

5 files changed

+16
-4
lines changed

5 files changed

+16
-4
lines changed

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,5 @@ slcli/__pycache__/
7777
scripts/__pycache__/
7878
docs/__pycache__/
7979
tests/unit/__pycache__/
80-
slcli/_version.py
8180

8281
# End of .gitignore

CHANGELOG.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,31 +8,36 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
88
## [Unreleased]
99

1010
### Added
11+
1112
- Semantic release automation for version management
1213
- Automated version bumping based on conventional commits
1314
- Enhanced version command that works in both development and built environments
1415
- Graceful error handling for workspace permission errors
1516

1617
### Changed
18+
1719
- Version command now reads from auto-generated `_version.py` in built binaries
1820
- Build process now automatically generates version file during packaging
1921

2022
### Fixed
23+
2124
- Version command now works correctly in PyInstaller-built binaries
2225
- Workspace info command handles permission errors gracefully instead of crashing
2326

2427
## [0.3.1] - 2025-01-XX
2528

2629
### Added
30+
2731
- SystemLink Integrator CLI for managing workflows, templates, notebooks, and workspaces
2832
- Cross-platform support (Windows, macOS, Linux)
2933
- Authentication via API keys stored in system keyring
3034
- JSON and table output formats for list commands
3135
- Comprehensive error handling with user-friendly messages
3236

3337
### Features
38+
3439
- **Workspace Management**: List, disable, and get detailed workspace information
3540
- **Template Management**: List and manage test plan templates
36-
- **Workflow Management**: List and manage SystemLink workflows
41+
- **Workflow Management**: List and manage SystemLink workflows
3742
- **Notebook Management**: Create, download, delete, and list Jupyter notebooks
3843
- **Authentication**: Secure login/logout with API key storage

docs/semantic-release.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,11 +52,13 @@ BREAKING CHANGE: API endpoints have been restructured"
5252
## Workflows
5353

5454
### Semantic Release Workflow
55+
5556
- **File**: `.github/workflows/semantic-release.yml`
5657
- **Trigger**: Push to `main` branch
5758
- **Actions**: Analyzes commits, bumps version, creates tags, generates changelog
5859

5960
### Release Build Workflow
61+
6062
- **File**: `.github/workflows/release.yml`
6163
- **Trigger**: New tags created by semantic release
6264
- **Actions**: Builds binaries for all platforms, creates GitHub releases

pyproject.toml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ branch = "main"
6060
upload_to_pypi = false
6161
upload_to_release = true
6262
hvcs = "github"
63-
commit_message = "chore(release): {version}\n\n{changelog}"
63+
commit_message = "chore(release): {version}"
6464
tag_format = "v{version}"
6565

6666
[tool.semantic_release.commit_parser_options]
@@ -70,9 +70,11 @@ patch_tags = ["fix", "perf"]
7070

7171
[tool.semantic_release.changelog]
7272
template_dir = "templates"
73-
changelog_file = "CHANGELOG.md"
7473
exclude_commit_patterns = []
7574

75+
[tool.semantic_release.changelog.default_templates]
76+
changelog_file = "CHANGELOG.md"
77+
7678
[tool.semantic_release.branches.main]
7779
match = "(main|master)"
7880
prerelease_token = "rc"

slcli/_version.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
"""Version information for slcli."""
2+
3+
# This file is auto-generated. Do not edit manually.
4+
__version__ = "0.3.1"

0 commit comments

Comments
 (0)