* feat!: change 'version' to 'specVersion'
Changes `func create` to write the last migration value to func.yaml
when a new function is created, and modifies the name in the func.yaml
file to be 'specVersion' instead of 'version' to help reduce confusion.
Adds a migration, and a LastMigration() utility function.
Fixes: https://github.com/knative-sandbox/kn-plugin-func/issues/861
Signed-off-by: Lance Ball <lball@redhat.com>
* fixup: remove DefaultVersion
Signed-off-by: Lance Ball <lball@redhat.com>
* fixup: review feedback
Signed-off-by: Lance Ball <lball@redhat.com>
* fixup: review feedback
Signed-off-by: Lance Ball <lball@redhat.com>