Files
remark42/scripts/cleanup-release-assets.sh
UmputunandGitHub 556e0a70d5 chore(release): build binary artifacts with GoReleaser (#2070)
replace the Docker artifact build with GoReleaser config and a tag release workflow. Keep local artifact builds snapshot-only and clean generated frontend embed files after release runs.
2026-05-22 13:24:32 -05:00

13 lines
349 B
Bash
Executable File

#!/usr/bin/env bash
set -euo pipefail
ROOT=$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)
PREPARED_MARKER="$ROOT/backend/app/cmd/web/.release-assets-prepared"
if [[ ! -e "$PREPARED_MARKER" ]]; then
exit 0
fi
git -C "$ROOT" checkout -- backend/app/cmd/web
git -C "$ROOT" clean -fdX backend/app/cmd/web frontend/apps/remark42/public >/dev/null