mirror of
https://github.com/chillpadclub/bedolaga-cabinet.git
synced 2026-07-28 09:33:46 +00:00
Add VITE_APP_VERSION environment variable and integrate versioning into the application
- Introduced VITE_APP_VERSION in Dockerfile and GitHub workflows to capture the version from Git tags. - Updated vite.config.ts to define a global constant for the app version. - Enhanced Layout component to display the app version in the footer for admin pages. - Added logic to conditionally render the LanguageSwitcher based on active promotions.
This commit is contained in:
1
.github/workflows/release.yml
vendored
1
.github/workflows/release.yml
vendored
@@ -34,6 +34,7 @@ jobs:
|
||||
VITE_TELEGRAM_BOT_USERNAME:
|
||||
VITE_APP_NAME: Bedolaga Cabinet
|
||||
VITE_APP_LOGO: V
|
||||
VITE_APP_VERSION: ${{ github.ref_name }}
|
||||
|
||||
- name: Create dist archive
|
||||
run: |
|
||||
|
||||
Reference in New Issue
Block a user