Skip to content

Commit fd8c8d9

Browse files
build: Fix medcat-v2 release action (#10)
1 parent 1ccef7d commit fd8c8d9

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/medcat-v2_release.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
# NOTE: branch name is in line with version tag, except for the patch version
3232
BRANCH_NAME="${VERSION_TAG%.*}" # This removes the patch version (everything after the second dot)
3333
34-
# Check out the corresponding release branch (e.g., medcat/v0.1)
34+
# Check out the corresponding release branch (e.g., medcat-v0.1)
3535
git checkout $BRANCH_NAME
3636
3737
# Ensure the branch is up-to-date with the remote
@@ -54,8 +54,9 @@ jobs:
5454
with:
5555
tag_name: ${{ github.ref_name }}
5656
draft: true
57+
# softprops/action-gh-release v2 doesnt support the working-directory field, so put the path in files
5758
files: |
58-
dist/*
59+
medcat-v2/dist/*
5960
6061
# Uncomment and modify this for PyPI publishing in the future
6162
# - name: Publish to PyPI

0 commit comments

Comments
 (0)