Skip to content

Commit

Permalink
FIX: consider release naming in PyDPF
Browse files Browse the repository at this point in the history
  • Loading branch information
jorgepiloto committed Dec 14, 2022
1 parent 800a3f4 commit d0e809f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions doc-deploy-stable/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,8 @@ runs:
ref_name="${{ github.ref_name }}"
version=${ref_name##*v}
version=${version##*release/}
# HACK: pydfp uses release-X.Y.Z
version=${version##*release-}
# Check that the version is of the accepted format
echo "ACCEPTED_FORMAT=$([[ "$version" =~ ^[0-9]+\.[0-9]+$|^[0-9]+\.[0-9]+\.[0-9]+$ ]] && echo "true" || echo "false")" >> $GITHUB_ENV
echo "PRELIMINARY_VERSION=$version" >> $GITHUB_ENV
Expand Down

0 comments on commit d0e809f

Please sign in to comment.