Skip to content
This repository has been archived by the owner on Apr 15, 2023. It is now read-only.

Pattern for latest tag compare #46

Closed
liziwl opened this issue Jun 16, 2021 · 1 comment
Closed

Pattern for latest tag compare #46

liziwl opened this issue Jun 16, 2021 · 1 comment
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@liziwl
Copy link

liziwl commented Jun 16, 2021

Hi, I get an error like this

Run fregante/release-with-changelog@v3
  with:
    token: ***
    exclude: ^meta|^document|^lint|^refactor|readme|dependencies|注释|文档|ci|CI|README
    commit-template: - {title} ← {hash}
    template: ### Changelog
  
  {commits}
  
  {range}
  
    date-format: short
    sort: desc
Computed range: v1.1.1..dev-latest
Error: Validation Failed: {"resource":"Release","code":"already_exists","field":"tag_name"}

It seems that already have "dev-latest" in the last commit.

Can you add tag extract pattern like the tag should start with "v" to avoid the bug?

@fregante fregante added enhancement New feature or request help wanted Extra attention is needed labels Jun 16, 2021
@fregante
Copy link
Owner

PR welcome 🙂

@fregante fregante closed this as not planned Won't fix, can't repro, duplicate, stale Feb 9, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants