Skip to content

Commit 0b52076

Browse files
feat(dir-sdk-python): add releases
1 parent 7007e6e commit 0b52076

5 files changed

Lines changed: 56 additions & 5 deletions

File tree

.github/ISSUE_TEMPLATE/bug_report.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ body:
3030
If applicable, provide the version number or release tag where this
3131
issue was encountered
3232
options:
33-
- v1.1.0
33+
- v1.1.1
3434
default: 0
3535
validations:
3636
required: false
Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
# Copyright AGNTCY Contributors (https://github.com/agntcy)
2+
# SPDX-License-Identifier: Apache-2.0
3+
4+
name: Release SDK
5+
6+
on:
7+
workflow_dispatch:
8+
inputs:
9+
javascript-release:
10+
required: false
11+
type: boolean
12+
description: "Make a javascript SDK release."
13+
default: false
14+
python-release:
15+
required: false
16+
type: boolean
17+
description: "Make a python SDK release."
18+
default: false
19+
20+
permissions:
21+
contents: read
22+
id-token: write # Required for npm OIDC trusted publishing
23+
24+
jobs:
25+
python:
26+
name: Python
27+
if: ${{ inputs.python-release }}
28+
runs-on: ubuntu-latest
29+
steps:
30+
- name: Checkout code
31+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
32+
with:
33+
fetch-depth: 0
34+
35+
- name: Install Task
36+
uses: go-task/setup-task@3be4020d41929789a01026e0e427a4321ce0ad44 #v2.0.0
37+
38+
- name: Install deps
39+
shell: bash
40+
run: |
41+
task deps
42+
43+
- name: Build the Python package
44+
run: |
45+
task sdk:build:python
46+
47+
- name: Publish the Python SDK
48+
env:
49+
UV_PUBLISH_TOKEN: ${{ secrets.PYPI_API_TOKEN }}
50+
run: |
51+
task sdk:release:python

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
[agntcy/dir]: https://github.com/agntcy/dir
44
[agntcy/dir-sdk-python]: https://github.com/agntcy/dir-sdk-python
55

6-
## 1.1.0 (2026-04-02)
6+
## 1.1.1 (2026-04-02)
77

88
### Added
99

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
2-
name = "dir-sdk-python"
3-
version = "1.1.0"
2+
name = "agntcy-dir"
3+
version = "1.1.1"
44
description = "Directory SDK"
55
readme = "README.md"
66
requires-python = ">=3.10"

uv.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)