Skip to content

Commit c5199e0

Browse files
author
Marcus Pousette
committed
fix: update alpine build steps to include missing dependencies and correct script execution
1 parent c6feb15 commit c5199e0

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/prebuilt.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -119,10 +119,10 @@ jobs:
119119
VER=$(node -p "require('./package.json').version")
120120
echo "tag=v${VER#v}" >> $GITHUB_OUTPUT
121121
fi
122-
- run: apk add build-base git python3 py3-setuptools --update-cache
122+
- run: apk add build-base git python3 py3-setuptools bash gettext --update-cache
123123
- run: git clone --depth 1 https://github.com/asg017/sqlite-vec.git
124124
- run: |
125-
set -eux; cd sqlite-vec; [ -x ./scripts/vendor.sh ] && ./scripts/vendor.sh || true; make loadable
125+
set -eux; cd sqlite-vec; [ -f ./scripts/vendor.sh ] && bash ./scripts/vendor.sh || true; make loadable
126126
- name: Upload release asset (alpine x64)
127127
env:
128128
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@@ -163,9 +163,9 @@ jobs:
163163
run: |
164164
docker run --rm -v $PWD:/w --entrypoint /bin/sh --platform linux/${{ matrix.arch }} node:20-alpine -c '
165165
set -eux;
166-
apk add build-base git python3 py3-setuptools --update-cache;
166+
apk add build-base git python3 py3-setuptools bash gettext --update-cache;
167167
cd /w; git clone --depth 1 https://github.com/asg017/sqlite-vec.git;
168-
cd sqlite-vec; [ -x ./scripts/vendor.sh ] && ./scripts/vendor.sh || true; make loadable;
168+
cd sqlite-vec; [ -f ./scripts/vendor.sh ] && bash ./scripts/vendor.sh || true; make loadable;
169169
'
170170
- name: Upload release asset (alpine arm)
171171
env:

0 commit comments

Comments
 (0)