Skip to content

Commit 231f21b

Browse files
authored
Merge pull request #2 from brand-dot-dev/release-please--branches--main--changes--next
release: 0.0.3
2 parents 1c5836a + 4838416 commit 231f21b

9 files changed

Lines changed: 20 additions & 13 deletions

File tree

‎.github/workflows/publish-pypi.yml‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ jobs:
1212
publish:
1313
name: publish
1414
runs-on: ubuntu-latest
15+
permissions:
16+
contents: read
17+
id-token: write
1518

1619
steps:
1720
- uses: actions/checkout@v6
@@ -24,5 +27,3 @@ jobs:
2427
- name: Publish to PyPI
2528
run: |
2629
bash ./bin/publish-pypi
27-
env:
28-
PYPI_TOKEN: ${{ secrets.CONTEXT_DEV_PYPI_TOKEN || secrets.PYPI_TOKEN }}

‎.github/workflows/release-doctor.yml‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,3 @@ jobs:
1717
- name: Check release environment
1818
run: |
1919
bash ./bin/check-release-environment
20-
env:
21-
PYPI_TOKEN: ${{ secrets.CONTEXT_DEV_PYPI_TOKEN || secrets.PYPI_TOKEN }}

‎.release-please-manifest.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
".": "0.0.2"
2+
".": "0.0.3"
33
}

‎.stats.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 20
22
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/context-dev%2Fcontext.dev-a69e6793d72c7f91069972b64ff2e35b4ddfa62cd35d6451b7d63f95d5957951.yml
33
openapi_spec_hash: 8a77eef26c37dc2b63110169f0eef1f6
4-
config_hash: 9eebba57068a04ff872a84fd34214b9b
4+
config_hash: b47de5a3580d529a9ae2e5d03d950ce7

‎CHANGELOG.md‎

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# Changelog
22

3+
## 0.0.3 (2026-03-14)
4+
5+
Full Changelog: [v0.0.2...v0.0.3](https://github.com/brand-dot-dev/context-python-sdk/compare/v0.0.2...v0.0.3)
6+
7+
### Chores
8+
9+
* update SDK settings ([0c90793](https://github.com/brand-dot-dev/context-python-sdk/commit/0c90793462f3394063c47abf0bfb3b2bed60b685))
10+
311
## 0.0.2 (2026-03-14)
412

513
Full Changelog: [v0.0.1...v0.0.2](https://github.com/brand-dot-dev/context-python-sdk/compare/v0.0.1...v0.0.2)

‎bin/check-release-environment‎

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,6 @@
22

33
errors=()
44

5-
if [ -z "${PYPI_TOKEN}" ]; then
6-
errors+=("The PYPI_TOKEN secret has not been set. Please set it in either this repository's secrets or your organization secrets.")
7-
fi
8-
95
lenErrors=${#errors[@]}
106

117
if [[ lenErrors -gt 0 ]]; then

‎bin/publish-pypi‎

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,8 @@ set -eux
44
rm -rf dist
55
mkdir -p dist
66
uv build
7-
uv publish --token=$PYPI_TOKEN
7+
if [ -n "${PYPI_TOKEN:-}" ]; then
8+
uv publish --token=$PYPI_TOKEN
9+
else
10+
uv publish
11+
fi

‎pyproject.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "context.dev"
3-
version = "0.0.2"
3+
version = "0.0.3"
44
description = "The official Python library for the context.dev API"
55
dynamic = ["readme"]
66
license = "Apache-2.0"

‎src/context/dev/_version.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
22

33
__title__ = "context.dev"
4-
__version__ = "0.0.2" # x-release-please-version
4+
__version__ = "0.0.3" # x-release-please-version

0 commit comments

Comments
 (0)