Fix VERSION=
Some checks failed
CI / deploy (push) Has been cancelled

This commit is contained in:
nicolas.dorier 2025-02-21 22:26:13 +09:00
parent 393bcb3799
commit 9718b8e6b7
No known key found for this signature in database
GPG Key ID: 6618763EF09186FE

View File

@ -4,10 +4,10 @@ COMMIT="$(git log -1 --format=%H)"
pushd .
TEMP_DIR=$(mktemp -d)
echo "COMMIT=${COMMIT}"
echo "VERSION=$(git describe --tags --abbrev=0)"
cd "$TEMP_DIR"
echo "Creating plugin in directory: ${TEMP_DIR}"
cp -rf /app/* "${TEMP_DIR}"
echo "VERSION=$(git describe --tags --abbrev=0)"
cp shopify.app.toml.example shopify.app.toml
sed -i "s|APP_NAME|${APP_NAME}|g" shopify.app.toml