From 253395d59f723759798b974a10aceb417e005053 Mon Sep 17 00:00:00 2001 From: Sugendran Ganess Date: Tue, 5 Mar 2024 14:30:17 +1100 Subject: [PATCH] The changeset version needs to happen before we publish otherwise the number does not increment --- .changeset/early-spoons-itch.md | 5 +++++ package.json | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 .changeset/early-spoons-itch.md diff --git a/.changeset/early-spoons-itch.md b/.changeset/early-spoons-itch.md new file mode 100644 index 0000000..44cdfc1 --- /dev/null +++ b/.changeset/early-spoons-itch.md @@ -0,0 +1,5 @@ +--- +'@ordermentum/eslint-config-ordermentum': patch +--- + +Updated changeset command to version before publishing diff --git a/package.json b/package.json index 56ef7a8..427572c 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,7 @@ "author": "John D'Agostino ", "license": "MIT", "scripts": { - "release": "changeset publish" + "release": "changeset version && changeset publish" }, "devDependencies": { "@changesets/cli": "^2.27.1",