From b8af38609521172c60d57a06ab7e861d07411aab Mon Sep 17 00:00:00 2001 From: Technote Date: Sun, 1 Mar 2020 01:18:36 +0900 Subject: [PATCH 1/4] fix: use env token --- src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.ts b/src/index.ts index 5dbb8ce..2e6cd79 100644 --- a/src/index.ts +++ b/src/index.ts @@ -22,7 +22,7 @@ export const execute = async(): Promise => { const config = getConfig(commander.package); const args = getContextArgs(commander.tag, commander.branch, config); - setEnv(config, commander.token, commander.workspace); + setEnv(config, token, commander.workspace); if (!isValidContext(args)) { console.log('This is not target tag'); return; From b9f54db4fda015bf4e3314f838d528d7fadb4876 Mon Sep 17 00:00:00 2001 From: technote-space Date: Sun, 1 Mar 2020 09:41:50 +0000 Subject: [PATCH 2/4] chore: update npm dependencies --- package.json | 4 ++-- yarn.lock | 44 ++++++++++++++++++++++++++------------------ 2 files changed, 28 insertions(+), 20 deletions(-) diff --git a/package.json b/package.json index db5b887..799c7ff 100644 --- a/package.json +++ b/package.json @@ -38,8 +38,8 @@ "devDependencies": { "@commitlint/cli": "^8.3.5", "@commitlint/config-conventional": "^8.3.4", - "@technote-space/github-action-helper": "^1.2.1", - "@technote-space/github-action-test-helper": "^0.2.4", + "@technote-space/github-action-helper": "^1.2.2", + "@technote-space/github-action-test-helper": "^0.2.5", "@types/jest": "^25.1.3", "@types/node": "^13.7.7", "@typescript-eslint/eslint-plugin": "^2.21.0", diff --git a/yarn.lock b/yarn.lock index aff8159..54cf769 100644 --- a/yarn.lock +++ b/yarn.lock @@ -604,27 +604,27 @@ type-detect "4.0.8" "@technote-space/filter-github-action@^0.2.4": - version "0.2.4" - resolved "https://registry.yarnpkg.com/@technote-space/filter-github-action/-/filter-github-action-0.2.4.tgz#927f147c4b3ca0afa6af49875687c7d51d2e336d" - integrity sha512-/EK6LVXUr0w91bFIiIcYrG2KTxeOd8V58P+5IWstFArp6Svf5I1uOtPmZmvt4pOfTQtRiSVRNnVQZmGe5Lu8Pw== + version "0.2.5" + resolved "https://registry.yarnpkg.com/@technote-space/filter-github-action/-/filter-github-action-0.2.5.tgz#53aea7cf9026bb86cb89ad2053197d07336e9c86" + integrity sha512-+hKxXMVdmkB0tTVZLvUwwLLHYiweD8DJZUuPjjrmXJgu6HC6j349gywYCSBmBjoFAlGip+vhbpKnWBNDV2ht+g== dependencies: "@actions/core" "^1.2.2" "@actions/github" "^2.1.1" -"@technote-space/github-action-helper@^1.2.0", "@technote-space/github-action-helper@^1.2.1": - version "1.2.1" - resolved "https://registry.yarnpkg.com/@technote-space/github-action-helper/-/github-action-helper-1.2.1.tgz#16cdf2c68b693c4f3a29ea4f7100b9ce54475a0f" - integrity sha512-1mdkIyekaBTBsPLkCVW8utZLRDHUcQguhrqixzTtXWGgLsA7pELjABAr2jQ42Z6Ww9VvsnjaoVBwzgD0/XWPxg== +"@technote-space/github-action-helper@^1.2.0", "@technote-space/github-action-helper@^1.2.2": + version "1.2.2" + resolved "https://registry.yarnpkg.com/@technote-space/github-action-helper/-/github-action-helper-1.2.2.tgz#59b7df8e33b76b85318b5ed31b43f60ccb92493f" + integrity sha512-19qwKzHKbfRGy8avyYi3x/ekvLoWvE3Qv2bUf6kQDQDPS2/WRW2p9lCUtSjEecZ3Sa65t/cTcgjYuMUWwOtc8g== dependencies: "@actions/core" "^1.2.2" "@actions/github" "^2.1.1" shell-escape "^0.2.0" sprintf-js "^1.1.2" -"@technote-space/github-action-test-helper@^0.2.4": - version "0.2.4" - resolved "https://registry.yarnpkg.com/@technote-space/github-action-test-helper/-/github-action-test-helper-0.2.4.tgz#9ff122c173caed66d7d1a7c98136f397e876e5de" - integrity sha512-yU+KbfZ8+nn6uwMK0TN8W+PoyM2zS8x0lYABVS+077wqLubLIs5PQyFRggNOZPVg51aRWFI1if87VG7QBuan8Q== +"@technote-space/github-action-test-helper@^0.2.5": + version "0.2.5" + resolved "https://registry.yarnpkg.com/@technote-space/github-action-test-helper/-/github-action-test-helper-0.2.5.tgz#86529a9c9478eb19dfcdcef02da1760df029c5cc" + integrity sha512-AU0WBHoBNMrSX0vKnCBeNQ2+sdOGHEs2O8IqYVocITsqe3tCwpcYRaubulXfP6tpgW+0SOtMyjgvL9DEyDDFhA== dependencies: "@actions/github" "^2.1.1" js-yaml "^3.13.1" @@ -2283,9 +2283,9 @@ has@^1.0.3: function-bind "^1.1.1" hosted-git-info@^2.1.4: - version "2.8.7" - resolved "https://registry.yarnpkg.com/hosted-git-info/-/hosted-git-info-2.8.7.tgz#4d2e0d5248e1cfabc984b0f6a6d75fe36e679511" - integrity sha512-ChkjQtKJ3GI6SsI4O5jwr8q8EPrWCnxuc4Tbx+vRI5x6mDOpjKKltNo1lRlszw3xwgTOSns1ZRBiMmmwpcvLxg== + version "2.8.8" + resolved "https://registry.yarnpkg.com/hosted-git-info/-/hosted-git-info-2.8.8.tgz#7539bd4bc1e0e0a895815a2e0262420b12858488" + integrity sha512-f/wzC2QaWBs7t9IYqB4T3sR1xviIViXJRJTWBlx2Gf3g0Xi5vI7Yy4koXQ1c9OYDGHN9sBy1DQ2AB8fqZBWhUg== html-encoding-sniffer@^1.0.2: version "1.0.2" @@ -5286,10 +5286,18 @@ yargs-parser@^16.1.0: camelcase "^5.0.0" decamelize "^1.2.0" +yargs-parser@^17.1.0: + version "17.1.0" + resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-17.1.0.tgz#b95ff3201e98b89e86070f92bef636016a0b0766" + integrity sha512-67zLl4/kWtp9eyVuxX+fHZ2Ey4ySWh0awDJlk/EtT0vzspsXbzrFsh76WjYSP3L++zhSwHQRUE3MCBe754RuEg== + dependencies: + camelcase "^5.0.0" + decamelize "^1.2.0" + yargs@^15.0.0: - version "15.1.0" - resolved "https://registry.yarnpkg.com/yargs/-/yargs-15.1.0.tgz#e111381f5830e863a89550bd4b136bb6a5f37219" - integrity sha512-T39FNN1b6hCW4SOIk1XyTOWxtXdcen0t+XYrysQmChzSipvhBO8Bj0nK1ozAasdk24dNWuMZvr4k24nz+8HHLg== + version "15.2.0" + resolved "https://registry.yarnpkg.com/yargs/-/yargs-15.2.0.tgz#cb9fc7f7ec429f7e9329b623f5c707a62dae506a" + integrity sha512-E+o8C37U+M7N15rBJVxr0MoInp+O7XNhMqveSGWA5uhddqs8qtkZ+uvT9FI32QML0SKidXdDONr40Xe3tDO9FA== dependencies: cliui "^6.0.0" decamelize "^1.2.0" @@ -5301,4 +5309,4 @@ yargs@^15.0.0: string-width "^4.2.0" which-module "^2.0.0" y18n "^4.0.0" - yargs-parser "^16.1.0" + yargs-parser "^17.1.0" From fd74e2ec981b7150b00d7627f3094e956129129d Mon Sep 17 00:00:00 2001 From: Technote Date: Sun, 1 Mar 2020 18:42:15 +0900 Subject: [PATCH 3/4] feat: update package version --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 799c7ff..38aac09 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@technote-space/release-github-actions-cli", - "version": "1.1.0", + "version": "1.2.1", "description": "Release GitHub Actions Cli", "author": { "name": "Technote", From 96a0f8e31169e0a1b299326d8d0a1b5712f62143 Mon Sep 17 00:00:00 2001 From: Technote Date: Sun, 1 Mar 2020 18:42:40 +0900 Subject: [PATCH 4/4] feat: update package version --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 38aac09..b2619b5 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@technote-space/release-github-actions-cli", - "version": "1.2.1", + "version": "1.3.0", "description": "Release GitHub Actions Cli", "author": { "name": "Technote",