Skip to content

Commit 8b730c8

Browse files
committed
Upload to pypi
1 parent 398ac27 commit 8b730c8

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

.github/workflows/test_build.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,9 +68,9 @@ jobs:
6868
name: package
6969
path: |
7070
dist
71-
# - name: Publish to PyPi
72-
# if: github.ref_type == 'tag'
73-
# uses: pypa/gh-action-pypi-publish@release/v1
71+
- name: Publish to PyPi
72+
if: github.ref_type == 'tag'
73+
uses: pypa/gh-action-pypi-publish@release/v1
7474
- name: Do release with image artifact
7575
if: github.ref_type == 'tag'
7676
uses: ncipollo/release-action@v1

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# kit_test
22

33
[![Lint & build](https://github.com/srobo/kit-test-scripts/actions/workflows/test_build.yml/badge.svg)](https://github.com/srobo/kit-test-scripts/actions/workflows/test_build.yml)
4+
[![PyPI version](https://badge.fury.io/py/sr-kit-test.svg)](https://badge.fury.io/py/sr-kit-test)
45
[![MIT license](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat)](https://opensource.org/licenses/MIT)
56

67
A collection of test scripts for the Student Robotics v4 kit.

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[project]
2-
name = "kit_test"
2+
name = "sr-kit-test"
33
description = "A collection of test scripts for the Student Robotics v4 kit."
44
readme = "README.md"
55
license = {file = "LICENSE"}

0 commit comments

Comments
 (0)