mirror of
https://github.com/ButlerLogic/action-autotag.git
synced 2024-11-22 00:01:08 +07:00
WIP
This commit is contained in:
parent
2174768f11
commit
db1da31a6b
@ -33,7 +33,13 @@ export default class Tag {
|
||||
}
|
||||
|
||||
try {
|
||||
const changelog = await github.repos.compareCommits({ owner, repo, base: tags.data.shift().name, head: 'master' })
|
||||
let tags = await this.getTags()
|
||||
|
||||
if (tags.length === 0) {
|
||||
return `Version ${this.version}`
|
||||
}
|
||||
|
||||
const changelog = await github.repos.compareCommits({ owner, repo, base: tags.shift().name, head: 'master' })
|
||||
|
||||
return changelog.data.commits
|
||||
.map(
|
||||
|
Loading…
Reference in New Issue
Block a user