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

@@ -155,6 +155,8 @@ var importCmd = &cobra.Command{
pack = core.Pack{
Name: packImport.Name(),
// TODO: author, version?
PackFormat: core.CurrentPackFormat,
Index: struct {
File string `toml:"file"`
HashFormat string `toml:"hash-format"`