Skip to content
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

Add version number for assets versioning #2

Open
EmilePerron opened this issue Oct 29, 2022 · 0 comments
Open

Add version number for assets versioning #2

EmilePerron opened this issue Oct 29, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@EmilePerron
Copy link
Contributor

Assets versioning in Koalati is handled via a version number stored in the KOALATI_RELEASE_VERSION environment variable.

At the moment, this version is not defined in the base images nor in the .env template of this template, which causes the default dev value to be used at all times.

So when an update is made, users must clear their browser cache to get the new assets. This can be problematic for scripts and styles.

This could likely be fixed by either defining an environment variable directly in the base image published to Docker Hub (in the workflow of koalatiapp/app.

@EmilePerron EmilePerron added the bug Something isn't working label Oct 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant