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

update settings

This commit is contained in:
shimataro 2021-02-08 21:54:39 +09:00
parent 237ea58f21
commit 8574e6f286
No known key found for this signature in database
GPG key ID: BE92C05736911A9D
9 changed files with 488 additions and 596 deletions

View file

@ -3,8 +3,7 @@
# - git; I believe you have already installed.
# - sed; GNU sed is preferred. POSIX sed may not work.
# - perl; Already installed on most of unix system.
set -e
set -eu
BASE_BRANCH="develop"

View file

@ -2,8 +2,7 @@
# requires following packages:
# - git; I believe it's already installed.
# - sed; GNU sed is preferred. POSIX sed may not work.
set -e
set -eu
COLOR_ERROR="\e[1;41m"
COLOR_SECTION="\e[1;34m"
@ -105,8 +104,7 @@ function commit_changes() {
rm -rf node_modules
npm ci --only=production
npm run release
git add CHANGELOG.md package.json package-lock.json dist
git add CHANGELOG.md package.json package-lock.json lib
git commit -m "version ${VERSION}"
}

View file

@ -1,6 +1,5 @@
#!/bin/bash
set -e
set -eu
npm ci
npm run build
@ -8,5 +7,4 @@ npm run verify
rm -rf node_modules
npm ci --only=production
npm run release
git add dist
git add lib

View file

@ -1,7 +1,6 @@
#!/bin/bash
# update dependencies
set -e
set -eu
DATE=$(date +"%Y%m%d")
BRANCH=feature/update-dependencies-${DATE}
@ -25,10 +24,7 @@ npm run build
npm run verify
# commit
rm -rf node_modules
npm ci --only=production
npm run release
git add package.json package-lock.json dist
git add package.json package-lock.json lib
git commit -m "update dependencies"
# finished!