<#1968 [FlyteCTL Feature] Generate random version ...
# flyte-github
a
#1968 [FlyteCTL Feature] Generate random version when register workflows Issue created by pingsutw Describe the feature/command for FlyteCTL Generate random version if users don't specify a version
Copy code
(flytekit-3.9) ➜  flytectl git:(uuid) ✗  bin/flytectl register files <https://github.com/flyteorg/flytesnacks/releases/download/v0.2.226/snacks-cookbook-integrations-aws-athena.tar.gz> --archive -p flytesnacks -d development --config /Users/kevin/.flyte/config.yaml
 -------------------------------------------------------------------------------------------------------------- -------- ------------------------------------------------- 
| NAME (7)                                                                                                     | STATUS | ADDITIONAL INFO                                 |
 -------------------------------------------------------------------------------------------------------------- -------- ------------------------------------------------- 
| /tmp/register414934295/snacks-cookbook-integrations-aws-athena/0_sql.athena.no_io_1.pb                       | Failed | Error registering file due to rpc error: code = |
|                                                                                                              |        | InvalidArgument desc = missing version          |
 -------------------------------------------------------------------------------------------------------------- -------- ------------------------------------------------- 
| /tmp/register414934295/snacks-cookbook-integrations-aws-athena/1_athena.athena.no_io_wf_2.pb                 | Failed | Error registering file due to rpc error: code = |
|                                                                                                              |        | InvalidArgument desc = missing version          |
 -------------------------------------------------------------------------------------------------------------- -------- ------------------------------------------------- 
| /tmp/register414934295/snacks-cookbook-integrations-aws-athena/2_athena.athena.no_io_wf_3.pb                 | Failed | Error registering file due to rpc error: code = |
|                                                                                                              |        | InvalidArgument desc = missing version          |
 -------------------------------------------------------------------------------------------------------------- -------- ------------------------------------------------- 
| /tmp/register414934295/snacks-cookbook-integrations-aws-athena/3_sql.athena.w_io_1.pb                        | Failed | Error registering file due to rpc error: code = |
|                                                                                                              |        | InvalidArgument desc = missing version          |
 -------------------------------------------------------------------------------------------------------------- -------- ------------------------------------------------- 
| /tmp/register414934295/snacks-cookbook-integrations-aws-athena/4_athena.athena.manipulate_athena_schema_1.pb | Failed | Error registering file due to rpc error: code = |
|                                                                                                              |        | InvalidArgument desc = missing version          |
 -------------------------------------------------------------------------------------------------------------- -------- ------------------------------------------------- 
| /tmp/register414934295/snacks-cookbook-integrations-aws-athena/5_athena.athena.full_athena_wf_2.pb           | Failed | Error registering file due to rpc error: code = |
|                                                                                                              |        | InvalidArgument desc = missing version          |
 -------------------------------------------------------------------------------------------------------------- -------- ------------------------------------------------- 
| /tmp/register414934295/snacks-cookbook-integrations-aws-athena/6_athena.athena.full_athena_wf_3.pb           | Failed | Error registering file due to rpc error: code = |
|                                                                                                              |        | InvalidArgument desc = missing version          |
 -------------------------------------------------------------------------------------------------------------- -------- ------------------------------------------------- 
7 rows
Error: rpc error: code = InvalidArgument desc = missing version
Provide a possible output or UX example Improve UX when registering workflows Are you sure this issue hasn't been raised already? ☑︎ Yes Have you read the Code of Conduct? ☑︎ Yes flyteorg/flyte