feat(ocmod): add TeleCart admin sidebar menu and local dev setup (#57)
- Add telecart.ocmod.xml: inject TeleCart menu item (with Settings child) after Marketing - Add scripts/apply_ocmod.sh to symlink ocmod file in Docker container - Add make ocmod target - In CI: set version in telecart.ocmod.xml from version_meta; use docs.telecart.pro link Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
5
.github/workflows/main.yaml
vendored
5
.github/workflows/main.yaml
vendored
@@ -134,6 +134,11 @@ jobs:
|
||||
MODULE_ROOT="module/oc_telegram_shop/upload/oc_telegram_shop"
|
||||
echo "${{ needs.version_meta.outputs.tag }}" > "${MODULE_ROOT}/version.txt"
|
||||
|
||||
- name: Set version in install.xml
|
||||
run: |
|
||||
TAG="${{ needs.version_meta.outputs.tag }}"
|
||||
sed -i "s#<version>.*</version>#<version>${TAG}</version>#" module/oc_telegram_shop/install.xml
|
||||
|
||||
- name: Build module
|
||||
run: |
|
||||
bash scripts/ci/build.sh "${GITHUB_WORKSPACE}"
|
||||
|
||||
Reference in New Issue
Block a user