v4.3
This commit is contained in:
parent
fcbdb4900a
commit
f498350328
|
|
@ -16,7 +16,7 @@ jobs:
|
|||
steps:
|
||||
- uses: actions/checkout@master
|
||||
- name: Bump version and push tag
|
||||
uses: mathieudutour/github-tag-action@v4.2
|
||||
uses: mathieudutour/github-tag-action@v4.3
|
||||
with:
|
||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
```
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "github-tag-action",
|
||||
"version": "4.2.0",
|
||||
"version": "4.3.0",
|
||||
"private": true,
|
||||
"description": "A Github Action to automatically bump and tag master, on merge, with the latest SemVer formatted version.",
|
||||
"main": "lib/main.js",
|
||||
|
|
|
|||
|
|
@ -98,10 +98,12 @@ async function run() {
|
|||
core.setOutput("previous_tag", tag);
|
||||
}
|
||||
|
||||
// for some reason the commits start with a `'` on the CI so we ignore it
|
||||
// for some reason the commits start and end with a `'` on the CI so we ignore it
|
||||
const commits = logs
|
||||
.split(SEPARATOR)
|
||||
.map((x) => ({ message: x.trim().replace(/^'/g, "") }))
|
||||
.map((x) => ({
|
||||
message: x.trim().replace(/^'\n'/g, "").replace(/^'/g, ""),
|
||||
}))
|
||||
.filter((x) => !!x.message);
|
||||
const bump = await analyzeCommits(
|
||||
{},
|
||||
|
|
|
|||
Loading…
Reference in New Issue