Skip to content

Commit d0e809f

Browse files
committed
FIX: consider release naming in PyDPF
1 parent 800a3f4 commit d0e809f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

doc-deploy-stable/action.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,8 @@ runs:
5151
ref_name="${{ github.ref_name }}"
5252
version=${ref_name##*v}
5353
version=${version##*release/}
54+
# HACK: pydfp uses release-X.Y.Z
55+
version=${version##*release-}
5456
# Check that the version is of the accepted format
5557
echo "ACCEPTED_FORMAT=$([[ "$version" =~ ^[0-9]+\.[0-9]+$|^[0-9]+\.[0-9]+\.[0-9]+$ ]] && echo "true" || echo "false")" >> $GITHUB_ENV
5658
echo "PRELIMINARY_VERSION=$version" >> $GITHUB_ENV

0 commit comments

Comments
 (0)