portolan-cli 0.1.1__tar.gz → 0.1.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {portolan_cli-0.1.1 → portolan_cli-0.1.2}/.github/workflows/release.yml +12 -5
- {portolan_cli-0.1.1 → portolan_cli-0.1.2}/CHANGELOG.md +7 -0
- {portolan_cli-0.1.1 → portolan_cli-0.1.2}/PKG-INFO +1 -1
- {portolan_cli-0.1.1 → portolan_cli-0.1.2}/pyproject.toml +2 -2
- {portolan_cli-0.1.1 → portolan_cli-0.1.2}/uv.lock +960 -960
- {portolan_cli-0.1.1 → portolan_cli-0.1.2}/.claude/hooks/post-bash-remind.sh +0 -0
- {portolan_cli-0.1.1 → portolan_cli-0.1.2}/.claude/hooks/pre-read-check.sh +0 -0
- {portolan_cli-0.1.1 → portolan_cli-0.1.2}/.claude/hooks/prompt-inject.sh +0 -0
- {portolan_cli-0.1.1 → portolan_cli-0.1.2}/.coderabbit.yaml +0 -0
- {portolan_cli-0.1.1 → portolan_cli-0.1.2}/.github/CODEOWNERS +0 -0
- {portolan_cli-0.1.1 → portolan_cli-0.1.2}/.github/dependabot.yml +0 -0
- {portolan_cli-0.1.1 → portolan_cli-0.1.2}/.github/pull_request_template.md +0 -0
- {portolan_cli-0.1.1 → portolan_cli-0.1.2}/.github/workflows/ci.yml +0 -0
- {portolan_cli-0.1.1 → portolan_cli-0.1.2}/.github/workflows/docs.yml +0 -0
- {portolan_cli-0.1.1 → portolan_cli-0.1.2}/.github/workflows/nightly.yml +0 -0
- {portolan_cli-0.1.1 → portolan_cli-0.1.2}/.gitignore +0 -0
- {portolan_cli-0.1.1 → portolan_cli-0.1.2}/.pre-commit-config.yaml +0 -0
- {portolan_cli-0.1.1 → portolan_cli-0.1.2}/.python-version +0 -0
- {portolan_cli-0.1.1 → portolan_cli-0.1.2}/CLAUDE.md +0 -0
- {portolan_cli-0.1.1 → portolan_cli-0.1.2}/LICENSE +0 -0
- {portolan_cli-0.1.1 → portolan_cli-0.1.2}/README.md +0 -0
- {portolan_cli-0.1.1 → portolan_cli-0.1.2}/SECURITY.md +0 -0
- {portolan_cli-0.1.1 → portolan_cli-0.1.2}/context/architecture.md +0 -0
- {portolan_cli-0.1.1 → portolan_cli-0.1.2}/context/shared/adr/0000-template.md +0 -0
- {portolan_cli-0.1.1 → portolan_cli-0.1.2}/context/shared/adr/0001-agentic-first-development.md +0 -0
- {portolan_cli-0.1.1 → portolan_cli-0.1.2}/context/shared/adr/0002-click-for-cli.md +0 -0
- {portolan_cli-0.1.1 → portolan_cli-0.1.2}/context/shared/documentation/ci.md +0 -0
- {portolan_cli-0.1.1 → portolan_cli-0.1.2}/context/shared/documentation/distill-mcp.md +0 -0
- {portolan_cli-0.1.1 → portolan_cli-0.1.2}/context/shared/known-issues/example.md +0 -0
- {portolan_cli-0.1.1 → portolan_cli-0.1.2}/docs/changelog.md +0 -0
- {portolan_cli-0.1.1 → portolan_cli-0.1.2}/docs/contributing.md +0 -0
- {portolan_cli-0.1.1 → portolan_cli-0.1.2}/docs/index.md +0 -0
- {portolan_cli-0.1.1 → portolan_cli-0.1.2}/docs/roadmap.md +0 -0
- {portolan_cli-0.1.1 → portolan_cli-0.1.2}/mkdocs.yml +0 -0
- {portolan_cli-0.1.1 → portolan_cli-0.1.2}/portolan_cli/__init__.py +0 -0
- {portolan_cli-0.1.1 → portolan_cli-0.1.2}/portolan_cli/cli.py +0 -0
- {portolan_cli-0.1.1 → portolan_cli-0.1.2}/portolan_cli/output.py +0 -0
- {portolan_cli-0.1.1 → portolan_cli-0.1.2}/tests/conftest.py +0 -0
- {portolan_cli-0.1.1 → portolan_cli-0.1.2}/tests/specs/README.md +0 -0
- {portolan_cli-0.1.1 → portolan_cli-0.1.2}/tests/test_placeholder.py +0 -0
|
@@ -48,8 +48,11 @@ jobs:
|
|
|
48
48
|
id: check
|
|
49
49
|
run: |
|
|
50
50
|
# Check if there are any commits that would trigger a version bump
|
|
51
|
-
#
|
|
52
|
-
#
|
|
51
|
+
# Commitizen exit codes:
|
|
52
|
+
# 0 = Success, release needed
|
|
53
|
+
# 3 = NO_COMMITS_FOUND (no commits at all since last tag)
|
|
54
|
+
# 16 = NO_PATTERN_MAP (no tag for changelog, but bump would succeed)
|
|
55
|
+
# 21 = NO_COMMITS_TO_BUMP (commits exist but none are feat/fix/breaking)
|
|
53
56
|
# --yes flag auto-confirms "is this the first tag?" prompt in CI
|
|
54
57
|
set +e
|
|
55
58
|
output=$(uv run cz bump --dry-run --yes 2>&1)
|
|
@@ -58,9 +61,9 @@ jobs:
|
|
|
58
61
|
|
|
59
62
|
echo "$output"
|
|
60
63
|
|
|
61
|
-
if [ $exit_code -eq 0 ]; then
|
|
64
|
+
if [ $exit_code -eq 0 ] || [ $exit_code -eq 16 ]; then
|
|
62
65
|
echo "release_needed=true" >> $GITHUB_OUTPUT
|
|
63
|
-
echo "✓ Release-worthy commits found"
|
|
66
|
+
echo "✓ Release-worthy commits found (exit code: $exit_code)"
|
|
64
67
|
elif [ $exit_code -eq 21 ]; then
|
|
65
68
|
echo "release_needed=false" >> $GITHUB_OUTPUT
|
|
66
69
|
echo "✓ No release needed (commits are docs/refactor/test/chore only)"
|
|
@@ -91,11 +94,15 @@ jobs:
|
|
|
91
94
|
- name: Create GitHub Release
|
|
92
95
|
if: steps.check.outputs.release_needed == 'true'
|
|
93
96
|
run: |
|
|
94
|
-
# Get the latest tag
|
|
97
|
+
# Get the latest tag and its commit SHA
|
|
95
98
|
TAG=$(git describe --tags --abbrev=0)
|
|
99
|
+
TAG_SHA=$(git rev-list -n 1 "$TAG")
|
|
96
100
|
# Create a GitHub release from the tag
|
|
101
|
+
# Use --target to specify the tagged commit SHA, which works even if
|
|
102
|
+
# the tag push hasn't fully propagated to GitHub yet
|
|
97
103
|
gh release create "$TAG" \
|
|
98
104
|
--title "$TAG" \
|
|
105
|
+
--target "$TAG_SHA" \
|
|
99
106
|
--notes "See [CHANGELOG](https://github.com/${{ github.repository }}/blob/main/CHANGELOG.md) for details." \
|
|
100
107
|
dist/*
|
|
101
108
|
env:
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: portolan-cli
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.2
|
|
4
4
|
Summary: A CLI tool for managing cloud-native geospatial data
|
|
5
5
|
Project-URL: Homepage, https://github.com/portolan-sdi/portolan-cli
|
|
6
6
|
Project-URL: Bug Tracker, https://github.com/portolan-sdi/portolan-cli/issues
|
|
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "portolan-cli"
|
|
7
|
-
version = "0.1.
|
|
7
|
+
version = "0.1.2"
|
|
8
8
|
description = "A CLI tool for managing cloud-native geospatial data"
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
requires-python = ">=3.10"
|
|
@@ -70,7 +70,7 @@ packages = ["portolan_cli"]
|
|
|
70
70
|
|
|
71
71
|
[tool.commitizen]
|
|
72
72
|
name = "cz_conventional_commits"
|
|
73
|
-
version = "0.1.
|
|
73
|
+
version = "0.1.2"
|
|
74
74
|
version_files = ["pyproject.toml:^version"]
|
|
75
75
|
tag_format = "v$version"
|
|
76
76
|
update_changelog_on_bump = true
|