Skip to content

Commit

Permalink
Update release-web.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ketan2411 authored Jun 25, 2024
1 parent 092f498 commit 37c3612
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release-web.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ jobs:
- run: flutter build web --release --web-renderer canvaskit
- name: Move assets folder (if required)
run: |
mv build/assets/assets/* build/assets/ # Move files from subfolder
rm -rf build/assets/assets # Remove the empty subfolder
mv build/web/assets/assets/* build/web/assets/
rm -rf build/web/assets/assets
# change version
# Set Base Ref from "/" to "./"
- run: sed -i -e '101a<script src="main.dart.js?version=${{ github.run_number }}" type="application/javascript"></script>' build/web/index.html
Expand Down

0 comments on commit 37c3612

Please sign in to comment.