Skip to content

Commit 246c666

Browse files
committed
chore(release): 2.0.11
1 parent cd779c8 commit 246c666

File tree

3 files changed

+10
-3
lines changed

3 files changed

+10
-3
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,6 @@
22

33
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.
44

5+
### [2.0.11](https://github.com/nsnail/NSExt/compare/v2.0.10...v2.0.11) (2023-12-15)
6+
57
### [2.0.10](https://github.com/nsnail/NSExt/compare/v2.0.9...v2.0.10) (2023-12-14)

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"version": "2.0.10",
2+
"version": "2.0.11",
33
"devDependencies": {
44
"cz-git": "^1.7.1",
55
"commitizen": "^4.3.0",

scripts/2.git.release.ps1

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,14 @@ git checkout main
1313
git branch -D release
1414
git checkout -b release
1515
./node_modules/.bin/standard-version -r $types[$prefix][0]
16-
git push --follow-tags --force origin release
17-
Start-Process -FilePath "https://github.com/nsnail/NSExt/compare/main...release"
1816
cd ./scripts
17+
./code.clean.ps1
18+
git commit --amend --no-edit -a
19+
$tag = $(git describe --tags $(git rev-list --tags --max-count=1))
20+
git tag -d $tag
21+
git tag $tag
22+
git push --tags origin release
23+
Start-Process -FilePath "https://github.com/nsnail/NSExt/compare/main...release"
1924
Write-Host "按『Enter』回到主分支,『Ctrl+C』退出"
2025
Pause
2126
git checkout main

0 commit comments

Comments
 (0)