Skip to content

Commit 871d5c7

Browse files
committed
fix: use rm -rf before creating ssh & artifacts folders
1 parent d5c646c commit 871d5c7

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

scripts/build-artifacts.bash

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ popd || exit
2020
su-exec "$USR" makepkg
2121

2222
# Unpack artifacts
23+
rm -rf out
2324
mkdir out
2425
tar xf emacs-1-1-x86_64.pkg.tar.zst -C out
2526
rm emacs-1-1-x86_64.pkg.tar.zst

scripts/push-to-aur.bash

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ sum=$(sha512sum "$PKG_VERSION".tar.gz | sed -r 's/(.*)\s\s.*/\1/')
1010

1111
# Setup SSH
1212
cd /root
13+
rm -rf .ssh
1314
mkdir .ssh
1415
echo "$PUB_KEY" | tr -d '\r' >.ssh/id_aur.pub
1516
echo "$PRIV_KEY" | base64 --decode >.ssh/id_aur

0 commit comments

Comments
 (0)