Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 33 additions & 0 deletions .github/workflows/pypi.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Publish to PyPI

on:
push:
tags:
- 'v*' # v1.0.0 のようなタグで実行

jobs:
build-and-publish:
name: Build and publish to PyPI
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.11'

- name: Install build dependencies
run: |
python -m pip install --upgrade pip
pip install build

- name: Build package
run: python -m build

- name: Publish to PyPI
uses: pypa/gh-action-pypi-publish@v1.8.11
with:
password: ${{ secrets.PYPI_API_TOKEN }}
2 changes: 2 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,5 @@ pre-commit-refresh:
pre-commit autoupdate
@echo "🚀 Running all pre-commit hooks..."
pre-commit run --all-files
build-pypi:
python -m build
7 changes: 3 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
[project]
name = "fireblocks-cli"
version = "0.1.3"
version = "0.1.4"
description = "An unofficial CLI for managing Fireblocks services."
authors = [{ name = "Kamon Shohei" }]
readme = "README.md"
requires-python = ">=3.8"
requires-python = ">=3.11"
dependencies = [
"typer[all]",
"pyyaml"
"typer[all]>0.15.0",
]

[project.scripts]
Expand Down
2 changes: 2 additions & 0 deletions requirements-dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,5 @@ bump-my-version
black
reuse
pre-commit
build
twine