-
Notifications
You must be signed in to change notification settings - Fork 73
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
Pinned builds generate output files with filenames which are not known ahead of time #1759
Comments
@matthewdarwin can you clarify what you mean by "a file with the name in it"? |
something I can do |
Not sure it helps your use case, but one thing you can do is to output the files in to a new/empty directory. |
Spoke to Matthew today to better understand how he uses this. He uses the zipped output rather than the debian package to produce his own debian package. He does this because his custom debian contains some custom scripts (especially for start/stop). Outputting to a specific directory is a sufficient workaround. It would be even better if the files weren't zipped, so he didn't have to ls | grep to get the file name of the zip. |
When writing automation around pinned builds, it is not possible to know ahead of time what the name of the files produced will be. This means that automation has to use shell wildcards to get the filenames.
Would be better if the build outputted a file with the name in it or other way to avoid globbing which might result in the wrong thing being found in the future if the build process changes.
Current assets are named:
The text was updated successfully, but these errors were encountered: