diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 1af8e99..98ea170 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -45,6 +45,18 @@ jobs: working-directory: ./ui run: sudo npm run ojsbuild + - name: change css1 + run: sudo sed -i "s/\/static\/css\/main\.[^=]*\.chunk\.css/\/static\/css\/main\.chunk\.css/g" ui/build/index.html + + - name: change css2 + run: sudo sed -i "s/\/static\/css\/2\.[^=]*\.chunk\.css/\/static\/css\/2\.chunk\.css/g" ui/build/index.html + + - name: change js1 + run: sudo sed -i "s/\/static\/js\/main\.[^=]*\.chunk\.js/\/static\/js\/main\.chunk\.js/g" ui/build/index.html + + - name: change js2 + run: sudo sed -i "s/\/static\/js\/2\.[^=]*\.chunk\.js/\/static\/js\/2\.chunk\.js/g" ui/build/index.html + - name: Zip Buiĺd folder uses: papeloto/action-zip@v1 with: diff --git a/ui/package.json b/ui/package.json index 5344fdf..d112df3 100644 --- a/ui/package.json +++ b/ui/package.json @@ -1,6 +1,6 @@ { "name": "ui", - "version": "0.5.5", + "version": "0.5.6", "author": "o2r-project (https://o2r.info)", "license": "Apache-2.0", "homepage": "/",