diff --git a/.github/workflows/release_package.yml b/.github/workflows/release_package.yml index dc7933e..35d9a04 100644 --- a/.github/workflows/release_package.yml +++ b/.github/workflows/release_package.yml @@ -75,6 +75,10 @@ jobs: version: ${{ env.NEW_VERSION }} operation: release + # Bump version in package.json + - name: Bump version + run: npm version ${{ env.NEW_VERSION }} --no-git-tag-version + - name: Create and checkout temporary branch run: | git branch temp-branch @@ -84,6 +88,7 @@ jobs: - name: Commit CHANGELOG.md and package.json changes and create tag run: | git add "CHANGELOG.md" + git add "package.json" git commit -m "chore: release ${{ env.NEW_VERSION }}" # Push repository changes diff --git a/CHANGELOG.md b/CHANGELOG.md index 04dab57..ea4163f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,8 +7,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## Unreleased -## 2.4.3 - 2024-07-15 - ## 1.2.0 - 2023-10-13 ## 1.1.1 - 2023-07-28 diff --git a/package.json b/package.json index 708bdc9..0a6d589 100644 --- a/package.json +++ b/package.json @@ -13,7 +13,6 @@ "prepublishOnly": "pnpm test && pnpm lint", "preversion": "pnpm lint", "version": "git add -A src", - "postversion": "git push && git push --tags", "updates": "npx npm-check-updates", "updates:minor": "npx npm-check-updates --target minor" }, @@ -79,4 +78,4 @@ "tslib": "^2.6.2", "typescript": "^5.2.2" } -} \ No newline at end of file +}