jgitver / jgitver/gradle-jgitver-plugin

Default qualified version numbers are not semver-compliant

Open
#36 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
47
Forks
10
PR merge metrics
No merged PRs in 30d

Description

The three default qualified version numbers (0.0.0-EMPTY_GIT_REPOSITORY, 0.0.0-NOT_A_GIT_REPOSITORY, 0.0.0-NO_WORKTREE_AND_INDEX) contain underscore characters. But underscores are not legal according to semver and npm takes this seriously:

```
# npm version 0.0.0-NOT_A_GIT_REPOSITORY
npm ERR! Invalid version: 0.0.0-NOT_A_GIT_REPOSITORY
```
Either the profile must be enforced for the 3 default qualified version numbers so that I have the chance to remove these underscore characters, or an option must be added to specify semver-compliant version numbers for these three. This is related to #33.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.