Skip to content

Commit 75d781f

Browse files
committed
Step into package directory to get CHANGELOG.md
1 parent 4c82755 commit 75d781f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/reusable_pypi_deployment.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ jobs:
6262
- name: Check version against CHANGELOG
6363
if: ${{ success() && inputs.publish }}
6464
run: |
65+
cd ${{ inputs.package_directory }}
6566
CHANGELOG_VERSION=$(grep -Po '(?<=## \[)(\d+\.)+[^\]]' CHANGELOG.md | head -n 1)
6667
if [ "${{ env.TAG_VERSION }}" == "${CHANGELOG_VERSION}" ]
6768
then

0 commit comments

Comments
 (0)