File tree Expand file tree Collapse file tree 4 files changed +18
-15
lines changed
Expand file tree Collapse file tree 4 files changed +18
-15
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
77
88## [ Unreleased]
99
10+ ## [ 2.6.0] - 2023-10-11
11+
1012### Others
1113
1214* back up and restore files when exist (thanks [ @bambeusz ] ( https://github.com/bambeusz ) )
@@ -191,7 +193,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
191193
192194* First release.
193195
194- [ Unreleased ] : https://github.com/shimataro/ssh-key-action/compare/v2.5.1...HEAD
196+ [ Unreleased ] : https://github.com/shimataro/ssh-key-action/compare/v2.6.0...HEAD
197+ [ 2.6.0 ] : https://github.com/shimataro/ssh-key-action/compare/v2.5.1...v2.6.0
195198[ 2.5.1 ] : https://github.com/shimataro/ssh-key-action/compare/v2.5.0...v2.5.1
196199[ 2.5.0 ] : https://github.com/shimataro/ssh-key-action/compare/v2.4.0...v2.5.0
197200[ 2.4.0 ] : https://github.com/shimataro/ssh-key-action/compare/v2.3.1...v2.4.0
Original file line number Diff line number Diff line change 11{
22 "name" : " install-ssh-key" ,
3- "version" : " 2.5.1 " ,
3+ "version" : " 2.6.0 " ,
44 "private" : true ,
55 "description" : " Install SSH key in .ssh" ,
66 "main" : " ./dist/main.js" ,
Original file line number Diff line number Diff line change @@ -13,16 +13,16 @@ URL_REPOSITORY="${URL_PRODUCT}.git"
1313URL_COMPARE=" ${URL_PRODUCT} /compare"
1414URL_RELEASE=" ${URL_PRODUCT} /releases/new"
1515
16- COLOR_ERROR=" \e [1;41m"
17- COLOR_SECTION=" \e [1;34m"
18- COLOR_COMMAND_NAME=" \e [1;34m"
19- COLOR_OPTION=" \e [4;36m"
20- COLOR_COMMAND=" \e [4m"
21- COLOR_FILE=" \e [1;34m"
22- COLOR_BRANCH=" \e [1;31m"
23- COLOR_INPUT=" \e [1;31m"
24- COLOR_SELECT=" \e [1;32m"
25- COLOR_RESET=" \e [m"
16+ COLOR_ERROR=" \033 [1;41m"
17+ COLOR_SECTION=" \033 [1;34m"
18+ COLOR_COMMAND_NAME=" \033 [1;34m"
19+ COLOR_OPTION=" \033 [4;36m"
20+ COLOR_COMMAND=" \033 [4m"
21+ COLOR_FILE=" \033 [1;34m"
22+ COLOR_BRANCH=" \033 [1;31m"
23+ COLOR_INPUT=" \033 [1;31m"
24+ COLOR_SELECT=" \033 [1;32m"
25+ COLOR_RESET=" \033 [m"
2626
2727function main() {
2828 cd $( dirname ${0} ) /..
@@ -103,7 +103,7 @@ function update_changelog() {
103103 local KEYWORD=" Unreleased"
104104
105105 sed -i" .bak" -r \
106- -e " s/^((##\s +)\[${KEYWORD} \])$/\1\n\n\2[${VERSION} ] - ${DATE} /" \
106+ -e " s/^((##[[:space:]] +)\[${KEYWORD} \])$/\1\n\n\2[${VERSION} ] - ${DATE} /" \
107107 -e " s/^(\[${KEYWORD} \](.*))(v.*)\.\.\.HEAD$/\1v${VERSION} ...HEAD\n[${VERSION} ]\2\3...v${VERSION} /" \
108108 CHANGELOG.md
109109}
You can’t perform that action at this time.
0 commit comments