Skip to content

release: v1.5.3 #61

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Mar 21, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 12 additions & 12 deletions __tests__/config.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ describe('getActionDefaultInputs', () => {
expect(getActionDefaultInputs()).toEqual({
'BRANCH_NAME': 'releases/${MAJOR}',
'BUILD_COMMAND': '',
'BUILD_COMMAND_TARGET': 'build,production,prod,package',
'CLEAN_TARGETS': '.[!.]*,__tests__,src,*.js,*.ts,*.json,*.lock,*.yml,*.yaml',
'BUILD_COMMAND_TARGET': 'build,production,prod,package,pack',
'CLEAN_TARGETS': '.[!.]*,__tests__,docs,src,*.js,*.ts,*.json,*.lock,*.yml,*.yaml',
'CLEAN_TEST_TAG': 'false',
'COMMIT_EMAIL': '41898282+github-actions[bot]@users.noreply.github.com',
'COMMIT_MESSAGE': 'feat: build for release',
Expand All @@ -63,8 +63,8 @@ describe('getConfig', () => {
'inputs': {
'BRANCH_NAME': 'releases/${MAJOR}',
'BUILD_COMMAND': '',
'BUILD_COMMAND_TARGET': 'build,production,prod,package',
'CLEAN_TARGETS': '.[!.]*,__tests__,src,*.js,*.ts,*.json,*.lock,*.yml,*.yaml',
'BUILD_COMMAND_TARGET': 'build,production,prod,package,pack',
'CLEAN_TARGETS': '.[!.]*,__tests__,docs,src,*.js,*.ts,*.json,*.lock,*.yml,*.yaml',
'CLEAN_TEST_TAG': 'false',
'COMMIT_EMAIL': '41898282+github-actions[bot]@users.noreply.github.com',
'COMMIT_MESSAGE': 'feat: build for release',
Expand All @@ -90,8 +90,8 @@ describe('getConfig', () => {
'inputs': {
'BRANCH_NAME': 'releases/${MAJOR}',
'BUILD_COMMAND': '',
'BUILD_COMMAND_TARGET': 'build,production,prod,package',
'CLEAN_TARGETS': '.[!.]*,__tests__,src,*.js,*.ts,*.json,*.lock,*.yml,*.yaml',
'BUILD_COMMAND_TARGET': 'build,production,prod,package,pack',
'CLEAN_TARGETS': '.[!.]*,__tests__,docs,src,*.js,*.ts,*.json,*.lock,*.yml,*.yaml',
'CLEAN_TEST_TAG': 'false',
'COMMIT_EMAIL': '41898282+github-actions[bot]@users.noreply.github.com',
'COMMIT_MESSAGE': 'feat: build for release',
Expand All @@ -116,8 +116,8 @@ describe('getConfig', () => {
'inputs': {
'BRANCH_NAME': 'releases/${MAJOR}, gh-actions',
'BUILD_COMMAND': '',
'BUILD_COMMAND_TARGET': 'build,production,prod,package',
'CLEAN_TARGETS': '.[!.]*,__tests__,src,*.js,*.ts,*.json,*.lock,*.yml,*.yaml',
'BUILD_COMMAND_TARGET': 'build,production,prod,package,pack',
'CLEAN_TARGETS': '.[!.]*,__tests__,docs,src,*.js,*.ts,*.json,*.lock,*.yml,*.yaml',
'CLEAN_TEST_TAG': 'false',
'COMMIT_EMAIL': '41898282+github-actions[bot]@users.noreply.github.com',
'COMMIT_MESSAGE': 'feat: build for release',
Expand All @@ -142,8 +142,8 @@ describe('getConfig', () => {
'inputs': {
'BRANCH_NAME': 'releases/${MAJOR}',
'BUILD_COMMAND': '',
'BUILD_COMMAND_TARGET': 'build,production,prod,package',
'CLEAN_TARGETS': '.[!.]*,__tests__,src,*.js,*.ts,*.json,*.lock,*.yml,*.yaml',
'BUILD_COMMAND_TARGET': 'build,production,prod,package,pack',
'CLEAN_TARGETS': '.[!.]*,__tests__,docs,src,*.js,*.ts,*.json,*.lock,*.yml,*.yaml',
'CLEAN_TEST_TAG': 'false',
'COMMIT_EMAIL': '41898282+github-actions[bot]@users.noreply.github.com',
'COMMIT_MESSAGE': 'feat: build for release',
Expand All @@ -168,8 +168,8 @@ describe('getConfig', () => {
'inputs': {
'BRANCH_NAME': 'releases/${MAJOR}',
'BUILD_COMMAND': '',
'BUILD_COMMAND_TARGET': 'build,production,prod,package',
'CLEAN_TARGETS': '.[!.]*,__tests__,src,*.js,*.ts,*.json,*.lock,*.yml,*.yaml',
'BUILD_COMMAND_TARGET': 'build,production,prod,package,pack',
'CLEAN_TARGETS': '.[!.]*,__tests__,docs,src,*.js,*.ts,*.json,*.lock,*.yml,*.yaml',
'CLEAN_TEST_TAG': 'false',
'COMMIT_EMAIL': '41898282+github-actions[bot]@users.noreply.github.com',
'COMMIT_MESSAGE': 'feat: build for release',
Expand Down
12 changes: 6 additions & 6 deletions __tests__/index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ describe('execute', () => {
'rm -rdf *.lock',
'rm -rdf *.yml',
'rm -rdf *.yaml',
'rm -rdf __tests__ src',
'rm -rdf __tests__ docs src',
`mv -f '${cwd}/__tests__/tmp/.work/push/action.yml' '${cwd}/__tests__/tmp/.work/build/action.yml' > /dev/null 2>&1 || :`,
`rsync -rl --exclude '.git' --delete '${cwd}/__tests__/tmp/.work/build/' '${cwd}/__tests__/tmp/.work/push'`,
'git config \'user.name\' \'github-actions[bot]\'',
Expand Down Expand Up @@ -183,7 +183,7 @@ describe('execute', () => {
' >> stdout',
'[command]rm -rdf *.yaml',
' >> stdout',
'[command]rm -rdf __tests__ src',
'[command]rm -rdf __tests__ docs src',
' >> stdout',
'::endgroup::',
'::group::Copying <Build Directory> contents to <Push Directory>...',
Expand Down Expand Up @@ -272,7 +272,7 @@ describe('execute', () => {
'rm -rdf *.lock',
'rm -rdf *.yml',
'rm -rdf *.yaml',
'rm -rdf __tests__ src',
'rm -rdf __tests__ docs src',
`mv -f '${cwd}/__tests__/tmp/.work/push/action.yml' '${cwd}/__tests__/tmp/.work/build/action.yml' > /dev/null 2>&1 || :`,
`rsync -rl --exclude '.git' --delete '${cwd}/__tests__/tmp/.work/build/' '${cwd}/__tests__/tmp/.work/push'`,
'git config \'user.name\' \'github-actions[bot]\'',
Expand Down Expand Up @@ -330,7 +330,7 @@ describe('execute', () => {
'[command]rm -rdf *.lock',
'[command]rm -rdf *.yml',
'[command]rm -rdf *.yaml',
'[command]rm -rdf __tests__ src',
'[command]rm -rdf __tests__ docs src',
'::endgroup::',
'::group::Copying <Build Directory> contents to <Push Directory>...',
'[command]rsync -rl --exclude \'.git\' --delete \'<Build Directory>/\' \'<Push Directory>\'',
Expand Down Expand Up @@ -404,7 +404,7 @@ describe('execute', () => {
'rm -rdf *.lock',
'rm -rdf *.yml',
'rm -rdf *.yaml',
'rm -rdf __tests__ src',
'rm -rdf __tests__ docs src',
`mv -f '${cwd}/__tests__/tmp/.work/push/action.yml' '${cwd}/__tests__/tmp/.work/build/action.yml' > /dev/null 2>&1 || :`,
`rsync -rl --exclude '.git' --delete '${cwd}/__tests__/tmp/.work/build/' '${cwd}/__tests__/tmp/.work/push'`,
'git config \'user.name\' \'github-actions[bot]\'',
Expand Down Expand Up @@ -463,7 +463,7 @@ describe('execute', () => {
' >> stdout',
'[command]rm -rdf *.yaml',
' >> stdout',
'[command]rm -rdf __tests__ src',
'[command]rm -rdf __tests__ docs src',
' >> stdout',
'::endgroup::',
'::group::Copying <Build Directory> contents to <Push Directory>...',
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@technote-space/release-github-actions-cli",
"version": "1.5.2",
"version": "1.5.3",
"description": "Release GitHub Actions Cli",
"author": {
"name": "Technote",
Expand Down Expand Up @@ -29,7 +29,7 @@
"release-ga": "./bin/release-ga"
},
"dependencies": {
"@technote-space/release-github-actions": "^4.1.1",
"@technote-space/release-github-actions": "^5.0.1",
"commander": "^5.0.0",
"cosmiconfig": "^6.0.0",
"dotenv": "^8.2.0",
Expand All @@ -41,7 +41,7 @@
"@technote-space/github-action-helper": "^2.0.0",
"@technote-space/github-action-test-helper": "^0.3.1",
"@types/jest": "^25.1.4",
"@types/node": "^13.9.1",
"@types/node": "^13.9.2",
"@typescript-eslint/eslint-plugin": "^2.24.0",
"@typescript-eslint/parser": "^2.24.0",
"eslint": "^6.8.0",
Expand Down
Loading