Skip to content

Commit 2d9788e

Browse files
committed
prepare release 0.0.1a1
1 parent 42e6e6b commit 2d9788e

9 files changed

Lines changed: 77 additions & 0 deletions

File tree

.github/workflows/release.yml

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
name: release
2+
on:
3+
push:
4+
tags:
5+
- "v*"
6+
7+
jobs:
8+
build:
9+
name: build distribution
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v4
13+
with:
14+
persist-credentials: false
15+
- uses: actions/setup-python@v5
16+
with:
17+
python-version: "3.13"
18+
- run: |
19+
python -m pip install --upgrade pip
20+
pip install --upgrade setuptools wheel build
21+
python3 -m build
22+
- uses: actions/upload-artifact@v4
23+
with:
24+
name: dist
25+
path: |
26+
dist/*.tar.gz
27+
dist/*.whl
28+
publish-to-pypi:
29+
name: upload release to PyPI
30+
if: startsWith(github.ref, 'refs/tags/v') # only publish on tag pushes
31+
needs: build
32+
runs-on: ubuntu-latest
33+
environment:
34+
name: release
35+
url: https://pypi.org/p/bubble-data-api-client
36+
permissions:
37+
id-token: write
38+
steps:
39+
- uses: actions/download-artifact@v4
40+
with:
41+
name: dist
42+
path: dist/
43+
- uses: pypa/gh-action-pypi-publish@release/v1

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# built python packages
2+
dist
3+
# local environment configuration for direnv
4+
.envrc

pyproject.toml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
[project]
2+
name = "bubble-data-api-client"
3+
version = "0.0.1a1"
4+
description = "Python client for Bubble Data API"
5+
readme = "README.md"
6+
requires-python = ">=3.13"
7+
dependencies = []
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
Metadata-Version: 2.4
2+
Name: bubble-data-api-client
3+
Version: 0.0.1a1
4+
Summary: Python client for Bubble Data API
5+
Requires-Python: >=3.13
6+
Description-Content-Type: text/markdown
7+
License-File: LICENSE
8+
Dynamic: license-file
9+
10+
# bubble-data-api-client
11+
Python client for Bubble Data API
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
LICENSE
2+
README.md
3+
pyproject.toml
4+
src/bubble_data_api_client/__init__.py
5+
src/bubble_data_api_client/main.py
6+
src/bubble_data_api_client.egg-info/PKG-INFO
7+
src/bubble_data_api_client.egg-info/SOURCES.txt
8+
src/bubble_data_api_client.egg-info/dependency_links.txt
9+
src/bubble_data_api_client.egg-info/top_level.txt
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
bubble_data_api_client

src/bubble_data_api_client/__init__.py

Whitespace-only changes.

src/bubble_data_api_client/main.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
__VERSION__ = "0.0.1a1"

0 commit comments

Comments
 (0)