seald / nedb

The JavaScript Database, for Node.js, nw.js, electron and the browser

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Github Actions CI publish always tags as beta

arantes555 opened this issue · comments

${{ github.event.release.tag_name }} does not seem to work

Along the same lines... The versioning scheme in use breaks some semantic versioning parsers... To the point where I can't even select 2.1.0 stable from a dependency UI.

How TypeScript does it:

  1. 4.4.0-beta
  2. 4.4.0-dev.n
  3. 4.4.1-rc
  4. 4.4.2 (Stable-ish)

How we did it:

  1. 2.1.0-beta
  2. 2.1.0-69
  3. 2.1.0 ????

Screenshot from 2021-10-25 17-04-34
Screenshot from 2021-10-25 17-06-50

I do not understand how this would breaks semver in any way. I don't think it does. If there's an issue here, I believe it would be with your UI 🤷 Sorry

I don't think it's a coincidence that TypeScript never mixes stable versions with pre-release versions.

One fix is publishing the stable version to 2.1.1, and subsequent patches/beta versions to 2.1.2-foobar, like TS. But it does appear that the current scheme does not in anyway violate semver 2.0.