mirror of
https://github.com/etkecc/synapse-admin.git
synced 2024-11-21 15:25:22 +03:00
Put version into the manifest.json on CI builds (Docker, CDN, etc.)
This commit fixes the https://github.com/Awesome-Technologies/synapse-admin/issues/507 issue. While it's a mere workaround, it may help until the https://github.com/Awesome-Technologies/synapse-admin/issues/507#issuecomment-2063845882 is implemented
This commit is contained in:
parent
01e3947b22
commit
1474b46ff0
2 changed files with 4 additions and 1 deletions
4
.github/workflows/workflow.yml
vendored
4
.github/workflows/workflow.yml
vendored
|
@ -4,7 +4,7 @@ on:
|
|||
branches: [ "main" ]
|
||||
env:
|
||||
upstream_version: v0.10.3
|
||||
etke_version: etke10
|
||||
etke_version: etke11
|
||||
bunny_version: v0.1.0
|
||||
base_path: ./
|
||||
permissions:
|
||||
|
@ -26,6 +26,8 @@ jobs:
|
|||
cache: yarn
|
||||
- name: Install dependencies
|
||||
run: yarn install --immutable --network-timeout=300000
|
||||
- name: Set version into manifest.json
|
||||
run: sed -i 's|"icons"|"version": "${{ env.upstream_version }}-${{ env.etke_version }}",\n "icons"|g' public/manifest.json
|
||||
- name: Build
|
||||
run: yarn build --base=${{ env.base_path }}
|
||||
- uses: actions/upload-artifact@v4
|
||||
|
|
|
@ -33,6 +33,7 @@ The following changes are already implemented:
|
|||
* [Fix redirect URL after user creation](https://github.com/etkecc/synapse-admin/pull/16)
|
||||
* [Display actual Synapse errors](https://github.com/etkecc/synapse-admin/pull/17)
|
||||
* [Fix base_url being undefined on unsuccessful login](https://github.com/etkecc/synapse-admin/pull/18)
|
||||
* [Put the version into manifest.json](https://github.com/Awesome-Technologies/synapse-admin/issues/507) (CI only)
|
||||
|
||||
_the list will be updated as new changes are added_
|
||||
|
||||
|
|
Loading…
Reference in a new issue