From 1145df3cd4731575f1448fc14ca44ec871f5e3fc Mon Sep 17 00:00:00 2001 From: danilo neves cruz Date: Wed, 4 Dec 2024 23:58:11 +0700 Subject: [PATCH] =?UTF-8?q?=F0=9F=91=B7=20github:=20update=20lockfile=20af?= =?UTF-8?q?ter=20versioning?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .changeset/version.sh | 5 +++++ .github/workflows/release.yaml | 1 + 2 files changed, 6 insertions(+) create mode 100755 .changeset/version.sh diff --git a/.changeset/version.sh b/.changeset/version.sh new file mode 100755 index 00000000..207f1a62 --- /dev/null +++ b/.changeset/version.sh @@ -0,0 +1,5 @@ +#!/usr/bin/env bash + +pnpm changeset version +pnpm install --lockfile-only +git commit --all --amend --no-edit diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index bd723b8a..2ee81894 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -22,5 +22,6 @@ jobs: with: title: 🔖 new release publish: pnpm changeset publish + version: ./.changeset/version.sh env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}