forked from 1b-agent/opencadstudio-upstream
Fix website checkout and snap build context
Co-authored-by: dichhead <330471626+dichhead@users.noreply.github.com>
This commit is contained in:
1 parent
9e284c7e61
commit
05dda2eb29
2 files changed
+13
-8
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user