Github registry version doesn't update

I followed the Quickstart for GitHub Packages guide, When i try to make a new release it always fails with this error message : " You cannot publish over the previously published versions "
i tried using
“publish”: “npm publish --access public”

and i removed the git+ from my “url”: “

but nothing worked.