From 8bfc9864f61626c316cacd941f502ec653361633 Mon Sep 17 00:00:00 2001 From: Emma Date: Wed, 15 May 2024 01:24:43 -0400 Subject: [PATCH] chore: don't create any resources on prerelease (#64) --- .github/workflows/release-and-publish.yml | 2 +- package-lock.json | 4 ++-- package.json | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release-and-publish.yml b/.github/workflows/release-and-publish.yml index 5f609bc..e0537e2 100644 --- a/.github/workflows/release-and-publish.yml +++ b/.github/workflows/release-and-publish.yml @@ -38,7 +38,7 @@ jobs: git config user.email "41898282+github-actions[bot]@users.noreply.github.com" if [[ ${{ inputs.prerelease }} ]]; then - new_version=$(npm version --preid=rc pre${{ inputs.semver_type }}) + new_version=$(npm version ${{ inputs.semver_type }} --no-commit-hooks --no-git-tag-version ) else new_version=$(npm version ${{ inputs.semver_type }} ) fi diff --git a/package-lock.json b/package-lock.json index 926bb12..593b420 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "ts-mock-imports", - "version": "1.3.15-rc.0", + "version": "1.3.15", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "ts-mock-imports", - "version": "1.3.15-rc.0", + "version": "1.3.15", "license": "MIT", "devDependencies": { "@eslint/js": "^9.2.0", diff --git a/package.json b/package.json index e6a0607..ebba113 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ts-mock-imports", - "version": "1.3.15-rc.0", + "version": "1.3.15", "description": "Intuitive mocking for Typescript class imports", "main": "lib/index.js", "types": "lib/index.d.ts",