From 1e30d7af47aff0f4f3eaef77e2516b141727de71 Mon Sep 17 00:00:00 2001 From: Don McCurdy Date: Wed, 24 Jul 2024 14:06:12 -0400 Subject: [PATCH] v0.0.38 --- package.json | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index a83a15f..8edcf27 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "repository": "github:CartoDB/carto-api-client", "author": "Don McCurdy ", "packageManager": "yarn@4.3.1", - "version": "0.0.37", + "version": "0.0.38", "license": "MIT", "publishConfig": { "access": "public", @@ -39,7 +39,10 @@ "format": "prettier \"**/*.{cjs,html,js,json,md,ts}\" --ignore-path ./.eslintignore --write", "clean": "rimraf build/*", "prepack": "yarn clean && yarn build", - "prepublish": "yarn lint && yarn test" + "prepublish": "yarn prepublish:test && yarn prepublish:tag && yarn prepublish:push", + "prepublish:test": "yarn lint && yarn test", + "prepublish:tag": "TAG=v$npm_package_version && git add -u && git commit -m $TAG && git tag -a $TAG -m $TAG", + "prepublish:push": "git push && git push --tags" }, "files": [ "build",