diff --git a/CHANGELOG.md b/CHANGELOG.md index 393bd1d..893325c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,8 @@ 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.5](https://github.com/nsnail/dot/compare/v2.0.4...v2.0.5) (2023-12-15) + ### [2.0.4](https://github.com/nsnail/dot/compare/v1.1.1...v2.0.4) (2023-12-15) diff --git a/package.json b/package.json index e717fc5..535114a 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "version": "2.0.4", + "version": "2.0.5", "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 1a11b4c..b766d9e 100644 --- a/scripts/2.git.release.ps1 +++ b/scripts/2.git.release.ps1 @@ -16,6 +16,9 @@ git checkout -b 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/dot/compare/main...release" Write-Host "按『Enter』回到主分支,『Ctrl+C』退出"