Skip to content

Commit

Permalink
🔀 Merge pull requests #389, #390, and #391 from 'v1.0.15/bump-the-ver…
Browse files Browse the repository at this point in the history
…sion', 'ci/make-up-missing-comma' and 'v1.0.15/update-the-change-logs'

Signed-off-by: kei-g <km.8k6ce+github@gmail.com>
  • Loading branch information
kei-g committed Jan 16, 2023
4 parents 682d6cc + ac4128c + 9f74b2f + 13268de commit fe94261
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 11 deletions.
14 changes: 6 additions & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,17 +18,15 @@ jobs:
const child_process = require('node:child_process')
child_process.exec(
`git fetch --depth 1 origin +${ref}:${ref}`,
{}
(err, stdout, stderr) => child_process.exec(
{},
() => child_process.exec(
`git for-each-ref --format='%(contents)' ${ref}`,
{},
async (err, stdout, stderr) => {
if (err) {
core.setFailed(err)
return
}
const i = stdout.search(/^Signed\-off\-by\:\ /g)
const j = stdout.search(/^\-{5}BEGIN\ PGP\ SIGNATURE\-{5}$/g)
if (err)
return core.setFailed(err)
const i = stdout.search(/Signed\-off\-by\:\ /g)
const j = stdout.search(/\-{5}BEGIN\ PGP\ SIGNATURE\-{5}$/g)
const body = i < 0 ? j < 0 ? stdout : stdout.slice(0, j) : stdout.slice(0, i)
const response = await github.request(
`POST /repos/${owner}/${repo}/releases`,
Expand Down
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# ChangeLogs

## Version 1.0.15

- :green_heart: CI chore
- The missing comma made up

## Version 1.0.14

- :green_heart: CI chore
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,5 +56,5 @@
"test": "run-p lint cover"
},
"types": "index.d.ts",
"version": "1.0.14"
"version": "1.0.15"
}

0 comments on commit fe94261

Please sign in to comment.