diff --git a/.github/workflows/build-dlib-bin.yml b/.github/workflows/build-dlib-bin.yml index 0087be925960..129f21f63219 100644 --- a/.github/workflows/build-dlib-bin.yml +++ b/.github/workflows/build-dlib-bin.yml @@ -56,11 +56,16 @@ jobs: DLIB_BIN_VERSION: ${{ matrix.version }} steps: - - name: Checkout dlib ${{ env.DLIB_BIN_VERSION }} + # davisking/dlib tags only the base release; a .postN dlib-bin version is + # the same upstream source republished under a new distribution version. + - name: Determine upstream git tag + run: echo "DLIB_TAG=v${DLIB_BIN_VERSION%.post*}" >> "$GITHUB_ENV" + + - name: Checkout dlib ${{ env.DLIB_TAG }} uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: repository: davisking/dlib - ref: v${{ env.DLIB_BIN_VERSION }} + ref: ${{ env.DLIB_TAG }} persist-credentials: false - name: Patch dlib configuration diff --git a/docs/packages/dlib-bin.yaml b/docs/packages/dlib-bin.yaml index a404cfeea63d..457d07de8099 100644 --- a/docs/packages/dlib-bin.yaml +++ b/docs/packages/dlib-bin.yaml @@ -11,3 +11,4 @@ versions: sha256: 81b4ae8ee1811508fe00f4af6497f170ea3d30f20c4aea3d06bee0568e0f8922 - filename: dlib_bin-20.0.1-cp314-cp314-manylinux_2_39_riscv64.whl sha256: 3b6d96fb0d4322e7f47521bdd9c668ec406a6f20dd3bb14e2b24ad8fe3f9e875 +- version: 20.0.1.post1