diff --git a/CHANGELOG.md b/CHANGELOG.md index 3ec839a..83ddf62 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,4 +2,6 @@ All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines. +### [2.0.11](https://github.com/nsnail/NSExt/compare/v2.0.10...v2.0.11) (2023-12-15) + ### [2.0.10](https://github.com/nsnail/NSExt/compare/v2.0.9...v2.0.10) (2023-12-14) \ No newline at end of file diff --git a/package.json b/package.json index 0b40e69..caad718 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "version": "2.0.10", + "version": "2.0.11", "devDependencies": { "cz-git": "^1.7.1", "commitizen": "^4.3.0", diff --git a/scripts/2.git.release.ps1 b/scripts/2.git.release.ps1 index b868a4f..8bdabe0 100644 --- a/scripts/2.git.release.ps1 +++ b/scripts/2.git.release.ps1 @@ -13,9 +13,14 @@ git checkout main git branch -D release git checkout -b release ./node_modules/.bin/standard-version -r $types[$prefix][0] -git push --follow-tags --force origin release -Start-Process -FilePath "https://github.com/nsnail/NSExt/compare/main...release" cd ./scripts +./code.clean.ps1 +git commit --amend --no-edit -a +$tag = $(git describe --tags $(git rev-list --tags --max-count=1)) +git tag -d $tag +git tag $tag +git push --tags origin release +Start-Process -FilePath "https://github.com/nsnail/NSExt/compare/main...release" Write-Host "按『Enter』回到主分支,『Ctrl+C』退出" Pause git checkout main