Skip to content

Commit cc52144

Browse files
committed
Got workflows working
1 parent 345a451 commit cc52144

File tree

4 files changed

+5
-9
lines changed

4 files changed

+5
-9
lines changed

.github/workflows/package.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: Python Package
22

3-
on: [push, pull_request, workflow_call]
3+
on: [workflow_call]
44

55
permissions:
66
contents: read

.github/workflows/release.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
name: Release
22

3-
on: [push]
4-
# release:
5-
# types: [published]
3+
on: [release]
64

75
permissions:
86
contents: read
@@ -19,7 +17,7 @@ jobs:
1917

2018
environment:
2119
name: pypi
22-
url: https://test.pypi.org/project/py-shr-parser-tomschmitz/
20+
url: https://pypi.org/project/py-shr-parser/
2321

2422
permissions:
2523
id-token: write
@@ -33,5 +31,3 @@ jobs:
3331

3432
- name: Publish Package to PyPI
3533
uses: pypa/gh-action-pypi-publish@release/v1
36-
with:
37-
repository-url: https://test.pypi.org/legacy/

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ build-backend = "setuptools.build_meta"
66
where = ["src"]
77

88
[project]
9-
name = "py-shr-parser-tomschmitz"
9+
name = "py-shr-parser"
1010
version = "1.0.0"
1111
authors = [
1212
{ name = "Tom Schmitz", email="tschmitz@andrew.cmu.edu" },

src/shr_parser/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
import importlib.metadata
22

3-
__version__ = importlib.metadata.version("py-shr-parser-tomschmitz")
3+
__version__ = importlib.metadata.version("py-shr-parser")

0 commit comments

Comments
 (0)