chore: allow packaging before final icon
This commit is contained in:
@@ -6,11 +6,6 @@ if [ -z "$VERSION" ]; then
|
||||
echo "Cannot determine version from plugin.conf" >&2
|
||||
exit 1
|
||||
fi
|
||||
if [ ! -f images/user_icon.svg ]; then
|
||||
echo "Missing user-supplied icon: src/images/user_icon.svg" >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
ROOT_DIR="$(cd .. && pwd)"
|
||||
mkdir -p "$ROOT_DIR/archives/$VERSION"
|
||||
tar -czf "$ROOT_DIR/archives/$VERSION/global-autoresponder.tar.gz" \
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
<?php
|
||||
declare(strict_types=1);
|
||||
|
||||
test('packing guidelines exclude docs and require manual icon', function (): void {
|
||||
test('packing guidelines exclude docs and allow later manual icon', function (): void {
|
||||
$packing = file_get_contents(dirname(__DIR__, 2) . '/PACKING.md') ?: '';
|
||||
assert_contains('docs/dokumentacja.html', $packing);
|
||||
assert_contains('must not contain `docs/`', $packing);
|
||||
assert_contains('src/images/user_icon.svg', $packing);
|
||||
assert_contains('may be added later at `src/images/user_icon.svg`', $packing);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user