Switch to better semver library and add pack-format field

This commit is contained in:
comp500
2021-10-12 18:51:02 +01:00
parent a8bf26cc26
commit b628e2762c
6 changed files with 73 additions and 19 deletions

View File

@@ -151,9 +151,10 @@ var initCmd = &cobra.Command{
// Create the pack
pack := core.Pack{
Name: name,
Author: author,
Version: version,
Name: name,
Author: author,
Version: version,
PackFormat: core.CurrentPackFormat,
Index: struct {
File string `toml:"file"`
HashFormat string `toml:"hash-format"`