Skip to content
This repository has been archived by the owner on May 3, 2022. It is now read-only.

schemaVersion not exported #789

Closed
sbawaska opened this issue Jul 1, 2019 · 1 comment · Fixed by #790
Closed

schemaVersion not exported #789

sbawaska opened this issue Jul 1, 2019 · 1 comment · Fixed by #790

Comments

@sbawaska
Copy link
Contributor

sbawaska commented Jul 1, 2019

related: #753

with the latest duffle built from master, the schemaVersion from duffle.json is not exported in the "bundle.json" file.

To reproduce:

duffle create foo

add the line: "schemaVersion": "v1.0.0-WD", to duffle.json

duffle build .
duffle export -t foo
tar -xvzf foo-0.1.0.tgz

verify that schemaVersion is not set:

  "name": "foo",
  "schemaVersion": "",
  "version": "0.1.0"
@sbawaska
Copy link
Contributor Author

sbawaska commented Jul 2, 2019

This is bad because a bundle that was built & exported with the latest master now fails to install with the message:

Error: invalid bundle schema version "": Invalid Semantic Version

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant