mirror of
https://github.com/etkecc/synapse-admin.git
synced 2024-11-21 23:35:22 +03:00
remove CI hack to include version into manifest.json (now generated on each build automatically)
This commit is contained in:
parent
fa79fecc9d
commit
eb35d9e122
1 changed files with 0 additions and 4 deletions
4
.github/workflows/workflow.yml
vendored
4
.github/workflows/workflow.yml
vendored
|
@ -25,10 +25,6 @@ jobs:
|
||||||
cache: yarn
|
cache: yarn
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: yarn install --immutable --network-timeout=300000
|
run: yarn install --immutable --network-timeout=300000
|
||||||
- name: Set version into manifest.json
|
|
||||||
run: |
|
|
||||||
TAG=$(git describe --tags --abbrev=0 || echo "latest")
|
|
||||||
sed -i "s|\"icons\"|\"version\": \"$TAG\",\\n \"icons\"|g" public/manifest.json
|
|
||||||
- name: Build
|
- name: Build
|
||||||
run: yarn build --base=${{ env.base_path }}
|
run: yarn build --base=${{ env.base_path }}
|
||||||
- uses: actions/upload-artifact@v4
|
- uses: actions/upload-artifact@v4
|
||||||
|
|
Loading…
Reference in a new issue