Skip to content

Conversation

@georgenavarro
Copy link
Contributor

If the destination zip file already exists then it is updated in place if you don't use the "FS" option. This means it will keep any older outdated files it may already contain (e.g. a previous version.). Adding "FS" will remove any files from the existing zip that are not present in the generated artifact bundle directory.

To reproduce the issue just use the plugin with any version number, then immediately use it again with a different version number. You'll end up with an artifact bundle that contains both versions, but an info.json file that only references the last used version number.

This isn't a problem if you are using a CI/CD system which should have a clean clone of the repo that uses this tool, but it is an issue if you bundle artifacts manually and don't clear out previously generated bundles.

If the destination zip file already exists then it is updated in place without the "FS" option, which means it will keep any older outdated files it may already contain (e.g. a previous version.). Adding "FS" will remove any files from the existing zip that are not present in the generated artifact bundle directory.
Copy link
Owner

@freddi-kit freddi-kit left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!!!!

@freddi-kit freddi-kit merged commit 33f4a65 into freddi-kit:main Jul 24, 2025
@freddi-kit
Copy link
Owner

https://github.com/freddi-kit/ArtifactBundleGen/releases/tag/0.0.8 released

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants