Skip to content

Commit

Permalink
Use string version
Browse files Browse the repository at this point in the history
more compact
  • Loading branch information
blowfishpro committed Oct 17, 2018
1 parent e4b857f commit 16d3796
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions templates/B9PartSwitch.version.erb
Expand Up @@ -6,14 +6,7 @@
"USERNAME" : "blowfishpro",
"REPOSITORY" : "B9PartSwitch"
},
"VERSION" : {
"MAJOR" : <%= mod_version.major %>,
"MINOR" : <%= mod_version.minor %>,
"PATCH" : <%= mod_version.patch %>
},
"KSP_VERSION" : {
"MAJOR" : <%= ksp_version.major %>,
"MINOR" : <%= ksp_version.minor %>,
"PATCH" : <%= ksp_version.patch %>
"VERSION" : "<%= mod_version.to_s %>",
"KSP_VERSION" : "<%= ksp_version.to_s(3) %>"
}
}

1 comment on commit 16d3796

@blowfishpro
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixes #102

Please sign in to comment.