mirror of
https://github.com/shimataro/ssh-key-action.git
synced 2025-06-19 22:52:10 +10:00
version 2.6.0 (#257)
This commit is contained in:
parent
ccfb951a8e
commit
a9c5970ee8
4 changed files with 18 additions and 15 deletions
|
@ -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
4
package-lock.json
generated
|
@ -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",
|
||||
|
|
|
@ -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",
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue