Fix website checkout and snap build context

Co-authored-by: dichhead <330471626+dichhead@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]anddichhead authored and GitHub committed 2026-09-19 13:58:49 +00:00
1 parent 9e284c7e61
commit 05dda2eb29
2 files changed
+13 -8

No files matched your search

+7 -2
View File
@@ -163,8 +163,13 @@ jobs:
test -n "$VERSION"
rm -rf .snap-build
mkdir -p .snap-build
cp linux-payload.tar.gz .snap-build/
cp -R snap .snap-build/
shopt -s dotglob
for entry in * .*; do
case "$entry" in
.|..|.git|.snap-build) continue ;;
esac
cp -a "$entry" .snap-build/
done
sed -i "s/^version: .*/version: '$VERSION'/" .snap-build/snap/snapcraft.yaml
echo "version=$VERSION" >> "$GITHUB_OUTPUT"
EOF