Skip to content
Open
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
40 changes: 40 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: Publish to TestPyPI

on:
push:
tags:
- 'v*' # Only run when a tag like v1.0, v2.1, etc. is pushed

jobs:
publish:
name: Build and publish to TestPyPI
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.x'

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

- name: Build package
run: |
flit build

- name: List dist contents
run: |
ls -al dist

- name: Publish to TestPyPI
env:
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.TEST_PYPI_API_TOKEN }}
run: |
twine upload --repository testpypi dist/*
Binary file removed dist/vcd2df-1.0.tar.gz
Binary file not shown.
1 change: 1 addition & 0 deletions test.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
"this is a test commit to see if pushing this will automatically update testpypi"
2 changes: 1 addition & 1 deletion vcd2df.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"""Value Change Dump to Data Frame (Pandas)"""

__version__ = "1.0"
__version__ = "1.0.1"

import pandas as pd

Expand Down