Skip to content

Commit 36e1025

Browse files
committed
fix(ci): copy tarball into pkg/arch/ before makepkg
1 parent aafaeab commit 36e1025

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

.github/workflows/release.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,9 +157,12 @@ jobs:
157157
158158
cd pkg/arch
159159
160+
# Copy tarball into build dir so makepkg finds it
161+
cp "$TARBALL" .
162+
160163
# Point PKGBUILD to the local tarball and update version
161164
sed -i "s/^pkgver=.*/pkgver=${VERSION}/" PKGBUILD
162-
sed -i "s|source=.*|source=(\"${TARBALL}\")|" PKGBUILD
165+
sed -i "s|source=.*|source=(\"courvux-notepad-${VERSION}.tar.gz\")|" PKGBUILD
163166
164167
chown -R builder:builder .
165168
su builder -c "makepkg -s --noconfirm"

0 commit comments

Comments
 (0)