1
0
Fork 0
mirror of https://github.com/shimataro/ssh-key-action.git synced 2025-06-19 22:52:10 +10:00

version 2.6.0

This commit is contained in:
shimataro 2023-10-11 22:41:30 +09:00
parent ccfb951a8e
commit 6f24f5f2d4
No known key found for this signature in database
GPG key ID: BE92C05736911A9D
4 changed files with 18 additions and 15 deletions

View file

@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
## [Unreleased]
## [2.6.0] - 2023-10-11
### Others
* 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.
* First release.
[Unreleased]: https://github.com/shimataro/ssh-key-action/compare/v2.5.1...HEAD
[Unreleased]: https://github.com/shimataro/ssh-key-action/compare/v2.6.0...HEAD
[2.6.0]: https://github.com/shimataro/ssh-key-action/compare/v2.5.1...v2.6.0
[2.5.1]: https://github.com/shimataro/ssh-key-action/compare/v2.5.0...v2.5.1
[2.5.0]: https://github.com/shimataro/ssh-key-action/compare/v2.4.0...v2.5.0
[2.4.0]: https://github.com/shimataro/ssh-key-action/compare/v2.3.1...v2.4.0

4
package-lock.json generated
View file

@ -1,12 +1,12 @@
{
"name": "install-ssh-key",
"version": "2.5.1",
"version": "2.6.0",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "install-ssh-key",
"version": "2.5.1",
"version": "2.6.0",
"license": "MIT",
"devDependencies": {
"@actions/core": "1.10.1",

View file

@ -1,6 +1,6 @@
{
"name": "install-ssh-key",
"version": "2.5.1",
"version": "2.6.0",
"private": true,
"description": "Install SSH key in .ssh",
"main": "./dist/main.js",

View file

@ -13,16 +13,16 @@ URL_REPOSITORY="${URL_PRODUCT}.git"
URL_COMPARE="${URL_PRODUCT}/compare"
URL_RELEASE="${URL_PRODUCT}/releases/new"
COLOR_ERROR="\e[1;41m"
COLOR_SECTION="\e[1;34m"
COLOR_COMMAND_NAME="\e[1;34m"
COLOR_OPTION="\e[4;36m"
COLOR_COMMAND="\e[4m"
COLOR_FILE="\e[1;34m"
COLOR_BRANCH="\e[1;31m"
COLOR_INPUT="\e[1;31m"
COLOR_SELECT="\e[1;32m"
COLOR_RESET="\e[m"
COLOR_ERROR="\033[1;41m"
COLOR_SECTION="\033[1;34m"
COLOR_COMMAND_NAME="\033[1;34m"
COLOR_OPTION="\033[4;36m"
COLOR_COMMAND="\033[4m"
COLOR_FILE="\033[1;34m"
COLOR_BRANCH="\033[1;31m"
COLOR_INPUT="\033[1;31m"
COLOR_SELECT="\033[1;32m"
COLOR_RESET="\033[m"
function main() {
cd $(dirname ${0})/..
@ -103,7 +103,7 @@ function update_changelog() {
local KEYWORD="Unreleased"
sed -i".bak" -r \
-e "s/^((##\s+)\[${KEYWORD}\])$/\1\n\n\2[${VERSION}] - ${DATE}/" \
-e "s/^((##[[:space:]]+)\[${KEYWORD}\])$/\1\n\n\2[${VERSION}] - ${DATE}/" \
-e "s/^(\[${KEYWORD}\](.*))(v.*)\.\.\.HEAD$/\1v${VERSION}...HEAD\n[${VERSION}]\2\3...v${VERSION}/" \
CHANGELOG.md
}