diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 2b1de48de..1b454ffac 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -97,7 +97,7 @@ jobs: env: GH_TOKEN: ${{ github.token }} run: | - gh release download ${{ github.event.inputs.tag }} --pattern "vectors-pg${{ matrix.version }}_${{ github.event.inputs.version }}-1_${{ matrix.platform }}.deb" --output pgvecto-rs-binary-release.deb + gh release download ${{ github.event.inputs.tag }} --pattern "vectors-pg${{ matrix.version }}_${{ github.event.inputs.version }}_${{ matrix.platform }}.deb" --output pgvecto-rs-binary-release.deb - name: Set up QEMU uses: docker/setup-qemu-action@v3 - name: Set up Docker Buildx diff --git a/scripts/build_2.sh b/scripts/build_2.sh index 6cd014fc9..50a54c132 100755 --- a/scripts/build_2.sh +++ b/scripts/build_2.sh @@ -13,7 +13,7 @@ cargo pgrx schema --no-default-features --features pg$VERSION > ./target/vectors rm -rf ./build/dir_zip rm -rf ./build/vectors-pg${VERSION}_${ARCH}-unknown-linux-gnu_${SEMVER}.zip rm -rf ./build/dir_deb -rm -rf ./build/vectors-pg${VERSION}_${SEMVER}-1_${PLATFORM}.deb +rm -rf ./build/vectors-pg${VERSION}_${SEMVER}_${PLATFORM}.deb mkdir -p ./build/dir_zip cp -a ./sql/upgrade/. ./build/dir_zip/ @@ -46,4 +46,4 @@ Homepage: https://pgvecto.rs/ License: apache2" \ > ./build/dir_deb/DEBIAN/control (cd ./build/dir_deb && md5sum usr/share/postgresql/$VERSION/extension/* usr/lib/postgresql/$VERSION/lib/*) > ./build/dir_deb/DEBIAN/md5sums -dpkg --build ./build/dir_deb/ ./build/vectors-pg${VERSION}_${SEMVER}-1_${PLATFORM}.deb +dpkg --build ./build/dir_deb/ ./build/vectors-pg${VERSION}_${SEMVER}_${PLATFORM}.deb