Skip to content

Commit 6da60a7

Browse files
dlib-bin: Add version 20.0.1.post1 (#2601)
* dlib-bin: Add version 20.0.1.post1 Signed-off-by: riseproject-dev[bot] <330740410+riseproject-dev[bot]@users.noreply.github.com> * dlib-bin: strip the .postN suffix to find davisking/dlib's upstream tag davisking/dlib only tags the base release; v20.0.1.post1 does not exist as a git ref (confirmed via git ls-remote --tags), so the checkout step failed to fetch. A .postN dlib-bin version republishes the same upstream source under a new distribution version, same pattern as build-dumb-init.yml. --------- Signed-off-by: riseproject-dev[bot] <330740410+riseproject-dev[bot]@users.noreply.github.com> Co-authored-by: riseproject-dev[bot] <330740410+riseproject-dev[bot]@users.noreply.github.com> Co-authored-by: Ludovic Henry <git@ludovic.dev>
1 parent 996db42 commit 6da60a7

2 files changed

Lines changed: 8 additions & 2 deletions

File tree

‎.github/workflows/build-dlib-bin.yml‎

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,11 +56,16 @@ jobs:
5656
DLIB_BIN_VERSION: ${{ matrix.version }}
5757

5858
steps:
59-
- name: Checkout dlib ${{ env.DLIB_BIN_VERSION }}
59+
# davisking/dlib tags only the base release; a .postN dlib-bin version is
60+
# the same upstream source republished under a new distribution version.
61+
- name: Determine upstream git tag
62+
run: echo "DLIB_TAG=v${DLIB_BIN_VERSION%.post*}" >> "$GITHUB_ENV"
63+
64+
- name: Checkout dlib ${{ env.DLIB_TAG }}
6065
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
6166
with:
6267
repository: davisking/dlib
63-
ref: v${{ env.DLIB_BIN_VERSION }}
68+
ref: ${{ env.DLIB_TAG }}
6469
persist-credentials: false
6570

6671
- name: Patch dlib configuration

‎docs/packages/dlib-bin.yaml‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,4 @@ versions:
1111
sha256: 81b4ae8ee1811508fe00f4af6497f170ea3d30f20c4aea3d06bee0568e0f8922
1212
- filename: dlib_bin-20.0.1-cp314-cp314-manylinux_2_39_riscv64.whl
1313
sha256: 3b6d96fb0d4322e7f47521bdd9c668ec406a6f20dd3bb14e2b24ad8fe3f9e875
14+
- version: 20.0.1.post1

0 commit comments

Comments
 (0)