mirror of
https://github.com/jgm/pandoc.git
synced 2026-09-19 02:22:09 +08:00
Cirrus: more build improvements.
Name artifact directories with the architecture type.
This commit is contained in:
@@ -17,18 +17,10 @@ case "$MACHINE" in
|
||||
*) ARCHITECTURE=unknown;;
|
||||
esac
|
||||
|
||||
ARTIFACTS="$WORK/linux/artifacts"
|
||||
ARTIFACTS="$WORK/linux-${ARCHITECTURE}"
|
||||
echo "Creating $ARTIFACTS directory"
|
||||
mkdir -p $ARTIFACTS
|
||||
|
||||
# This is our sentinel that tells us when we're done.
|
||||
rm -f $ARTIFACTS/DONE
|
||||
|
||||
clean_up() {
|
||||
echo "Exiting with error..."
|
||||
}
|
||||
trap clean_up EXIT
|
||||
|
||||
echo "Copying and stripping pandoc binary"
|
||||
cp "$BINPATH" "$ARTIFACTS/pandoc"
|
||||
strip "$ARTIFACTS/pandoc"
|
||||
|
||||
Reference in New Issue
Block a user