diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 12b67989..c9f38bc5 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -26,6 +26,8 @@ jobs: - name: Create Release Pull Request id: changesets uses: changesets/action@v1 + with: + version: npm run version env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/package-lock.json b/package-lock.json index a333dcc8..53441ae4 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "neverthrow", - "version": "8.0.0", + "version": "8.1.1", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "neverthrow", - "version": "8.0.0", + "version": "8.1.1", "license": "MIT", "devDependencies": { "@changesets/changelog-github": "^0.5.0", diff --git a/package.json b/package.json index a27fbec4..be86c5e5 100644 --- a/package.json +++ b/package.json @@ -18,7 +18,8 @@ "clean": "rm -rf ./dist ./tmp", "build": "npm run clean && rollup --config && mv tmp/*.js dist", "prepack": "npm run build", - "release": "changeset publish" + "release": "changeset publish", + "version": "changeset version && npm i --lockfile-only" }, "repository": { "type": "git",