Skip to content

Commit 6887caf

Browse files
committed
refactor: Corrected repository path across the code base
1 parent ec122a9 commit 6887caf

3 files changed

Lines changed: 33 additions & 3 deletions

File tree

.github/workflows/publish.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: Publish to PyPI
2+
on:
3+
push:
4+
tags:
5+
- 'v*'
6+
jobs:
7+
publish:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- name: Checkout code
11+
uses: actions/checkout@v4
12+
- name: Extract version from tag
13+
id: version
14+
run: echo "VERSION=${GITHUB_REF#refs/tags/v}" >> $GITHUB_OUTPUT
15+
- name: Update version in setup.py
16+
run: sed -i "s/version=\".*\"/version=\"${{ steps.version.outputs.VERSION }}\"/" setup.py
17+
- name: Set up Python
18+
uses: actions/setup-python@v5
19+
with:
20+
python-version: '3.x'
21+
- name: Install dependencies
22+
run: |
23+
python -m pip install --upgrade pip
24+
pip install build twine
25+
- name: Build package
26+
run: python -m build
27+
- name: Publish to PyPI
28+
uses: pypa/gh-action-pypi-publish@release/v1
29+
with:
30+
password: ${{ secrets.PYPI_API_TOKEN }}

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ pip install jolt-python-api
4545
From source:
4646

4747
```bash
48-
git clone https://github.com/DevArqf/jolt-python-api.git
48+
git clone https://github.com/Jolt-Database/jolt-python-api.git
4949
cd jolt-python-api
5050
pip install -e .
5151
```
@@ -199,4 +199,4 @@ go build -o jolt-broker
199199

200200
1. Connection failures commonly result from incorrect host configuration, inactive broker instances, or firewall restrictions.
201201
2. Publishing without first subscribing will not trigger message delivery.
202-
3. Authentication errors require correct credentials via `.auth()` before other operations.
202+
3. Authentication errors require correct credentials via `.auth()` before other operations.

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
description="A Python client for the Jolt in-memory messaging broker",
1212
long_description=long_description,
1313
long_description_content_type="text/markdown",
14-
url="https://github.com/DevArqf/jolt-python-api",
14+
url="https://github.com/Jolt-Database/jolt-python-api",
1515
packages=find_packages(where="src"),
1616
package_dir={"": "src"},
1717
classifiers=[

0 commit comments

Comments
 (0)