Skip to content

Commit

Permalink
Switch ahkpm init's default version to 1.0.0 (#185)
Browse files Browse the repository at this point in the history
To avoid ecosystem issues with packages staying at 0.x.x when it's not warranted.
  • Loading branch information
joshuacc authored Nov 29, 2022
1 parent 54cd9ec commit 6f63b60
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/core/initializer.go
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ func makeOptional(validator Validator) Validator {
func GetNewManifestWithDefaults() *Manifest {
manifest := NewManifest()

manifest.Version = "0.0.1"
manifest.Version = "1.0.0"
manifest.Include = getDefaultInclude()
manifest.Repository = getDefaultRepository()
manifest.Website = manifest.Repository
Expand Down
2 changes: 1 addition & 1 deletion src/core/initializer_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ func TestGetNewManifestWithDefaults(t *testing.T) {
m := GetNewManifestWithDefaults()

assert.IsType(t, &Manifest{}, m)
assert.Equal(t, "0.0.1", m.Version)
assert.Equal(t, "1.0.0", m.Version)
assert.Equal(t, "", m.Description)
assert.Equal(t, "", m.Include)
assert.Equal(t, "MIT", m.License)
Expand Down

0 comments on commit 6f63b60

Please sign in to comment.