By default semantic-release extracts latest version from NPM registry but last-release-git extracts it from git tags.
Install the plugin:
npm install last-release-git --save-dev
Add release field to your package.json as described at plugins documentation:
Create the first git tag manually and push it:
git tag v0.0.0git push --tags
The last thing you may want to do is to set dummy
NPM_TOKEN environment variable at CI (semantic-release throws an error if it doesn't exist) like this one: