Skip to content

Commit bc58868

Browse files
ritwik-gclaude
andcommitted
Add PyPI publish workflow and update README for non-PyPI installation
- Add GitHub Actions workflow for automated PyPI publishing on release - Update README to show GitHub-based installation methods until PyPI is set up - Remove references to direct pip install from PyPI - Workflow uses trusted publishing (OIDC) for secure authentication 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 042a8b2 commit bc58868

File tree

2 files changed

+42
-6
lines changed

2 files changed

+42
-6
lines changed

.github/workflows/pypi-publish.yml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: Publish to PyPI
2+
3+
on:
4+
release:
5+
types: [published]
6+
7+
permissions:
8+
contents: read
9+
id-token: write
10+
11+
jobs:
12+
publish:
13+
runs-on: ubuntu-latest
14+
steps:
15+
- name: Checkout code at release tag
16+
uses: actions/checkout@v4
17+
with:
18+
ref: ${{ github.event.release.tag_name }}
19+
20+
- name: Set up Python
21+
uses: actions/setup-python@v5
22+
with:
23+
python-version: '3.12'
24+
25+
- name: Install uv
26+
uses: astral-sh/setup-uv@v5
27+
with:
28+
version: "0.5.14"
29+
30+
- name: Build package
31+
run: uv build
32+
33+
- name: Publish to PyPI
34+
run: uv publish

README.md

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,24 +15,26 @@ A Helm plugin that helps manage Helm value configurations across different deplo
1515

1616
### As a Standalone CLI Tool (Recommended)
1717

18-
Install directly with pip:
18+
Install from GitHub:
1919

2020
```bash
21-
pip install helm-values-manager
21+
pip install git+https://github.com/Zipstack/helm-values-manager.git
2222
```
2323

24-
Or with uv:
24+
Or clone and install locally:
2525

2626
```bash
27-
uv add helm-values-manager
27+
git clone https://github.com/Zipstack/helm-values-manager
28+
cd helm-values-manager
29+
pip install -e .
2830
```
2931

30-
Or install from source:
32+
Or with uv:
3133

3234
```bash
3335
git clone https://github.com/Zipstack/helm-values-manager
3436
cd helm-values-manager
35-
uv install
37+
uv sync
3638
# CLI will be available as: uv run helm-values-manager
3739
```
3840

0 commit comments

Comments
 (0)