simnova / ownercommunity

MIT License
2 stars 1 forks source link

update cache purge to match oracle pwy #135

Closed nguyenduy closed 1 month ago

nguyenduy commented 1 month ago

Summary by Sourcery

This pull request enhances the versioning logic to conditionally update the version based on the deployment environment and corrects the import path for CachePurgeContext. Additionally, it updates the Azure Pipelines configuration to include the VITE_BUILD_VERSION environment variable.

sourcery-ai[bot] commented 1 month ago

Reviewer's Guide by Sourcery

This pull request updates the cache purge mechanism to align with Oracle PWY standards. The changes include modifying the build version generation script, updating the CachePurgeContext, and making adjustments to the Azure pipeline configuration.

File-Level Changes

Files Changes
ui-community/generate-build-version.cjs
ui-community/src/contexts/CachePurgeContext.tsx
ui-community/azure-pipelines.yml
ui-community/src/main.tsx
Updated build version handling and cache purge context to align with Oracle PWY standards, including changes to environment variable management and pipeline configuration.