remove CI hack to include version into manifest.json (now generated on each build automatically)

This commit is contained in:
Aine 2024-10-30 18:00:05 +02:00
parent fa79fecc9d
commit eb35d9e122
No known key found for this signature in database
GPG key ID: 34969C908CCA2804

View file

@ -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