From 98a7b9f386e8f6f5081766fef98fe38e556c30fb Mon Sep 17 00:00:00 2001 From: JohannaPeanut <76495099+JohannaPeanut@users.noreply.github.com> Date: Wed, 11 Sep 2024 14:55:35 +0200 Subject: [PATCH] add release script --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index a9f6ac8..0395382 100644 --- a/package.json +++ b/package.json @@ -54,7 +54,8 @@ "updateGeometrySchema": "json-schema-to-zod -i data/schema/geometry.schema.json -o data/schema/geometry.schema.ts -n geometrySchema -m esm --type GeometrySchema", "updateMetaSchema": "json-schema-to-zod -i data/schema/meta.schema.json -o data/schema/meta.schema.ts -n metaSchema -m esm --type MetaSchema", "generateTsxFromSvg": "bun ./scripts/svgToTsx/svgToTsx.ts && npm run format", - "prepare": "husky" + "prepare": "husky", + "release": "gh pr create --base main --head develop --title \"Release $(date '+%Y-%m-%d')\" --body \"\"" }, "devDependencies": { "@tailwindcss/typography": "^0.5.13",