-
Notifications
You must be signed in to change notification settings - Fork 4k
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(core): cannot determine packaging when bundling that produces an archive is skipped #14372
Conversation
…archive is skipped Bundling is skipped when the bundling directory already exists on disk (cache). If it previously produced a single archive file that has been moved to the staging directory the current logic either failed to determine the correct packaging type or threw because it expected the bundling directory to include a single archive file. Fix it by "touching" the archive file in the bundling directory after it has been moved to the staging directory. Fixes aws#14369
@eladb fyi Not too elegant but it works and I cannot think of another solution... caching is complicated as always... |
Thank you for contributing! Your pull request will be updated from master and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork). |
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
Thank you for contributing! Your pull request will be updated from master and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork). |
…archive is skipped (aws#14372) Bundling is skipped when the bundling directory already exists on disk (cache). If it previously produced a single archive file that has been moved to the staging directory the current logic either failed to determine the correct packaging type or threw because it expected the bundling directory to include a single archive file. Fix it by "touching" the archive file in the bundling directory after it has been moved to the staging directory. Fixes aws#14369 ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
Bundling is skipped when the bundling directory already exists on disk
(cache). If it previously produced a single archive file that has been
moved to the staging directory the current logic either failed to
determine the correct packaging type or threw because it expected the
bundling directory to include a single archive file.
Fix it by "touching" the archive file in the bundling directory after it
has been moved to the staging directory.
Fixes #14369
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license