Skip to content

Commit

Permalink
bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
dawkaka committed Jul 15, 2024
1 parent 6788a7e commit 5524a21
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/release_package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
2 changes: 0 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
},
Expand Down Expand Up @@ -79,4 +78,4 @@
"tslib": "^2.6.2",
"typescript": "^5.2.2"
}
}
}

0 comments on commit 5524a21

Please sign in to comment.