-
Notifications
You must be signed in to change notification settings - Fork 345
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix get_catalog.sh when runtime is snapshot #3755
Conversation
When the runtime is SNAPSHOT and uses a snapshot repository the downloaded artifact contains a timestamp which is not recognized when trying to move the file.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am not sure to understand when this is happening. In theory, we use snapshot
only when a staging repository is provided, otherwise we should not use it. The -z $2
check is checking exactly that.
When building camel-k and referencing |
Just tested locally and it works as expected:
|
Probably there is already an artifact in
|
When the runtime is SNAPSHOT and uses a snapshot repository the downloaded artifact contains a timestamp which is not recognized when trying to move the file.
Release Note