Skip to content

Commit

Permalink
chore(build): unpack causy-ui manually as the release-downloader pipe…
Browse files Browse the repository at this point in the history
…line step has currently a bug in its extraction logic

This is a lot of fun and just costed us multiple hours. But the lib we are using to fetch the causy ui release has a bug which prevents it from extracting zips correctly.
See: robinraju/release-downloader#689
The fix - extracting the causy ui - is super easy. But to figure out that the actual issue is just a zip extraction (and not e.g. a bug in aws agw - issue first found in causy share) was a lot of fun.

Co-authored-by: this-is-sofia <[email protected]>
  • Loading branch information
LilithWittmann and this-is-sofia committed Mar 31, 2024
1 parent b070657 commit 59964b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,9 @@ jobs:
fileName: "causy-ui-*.zip"
out-file-path: "causy/static/"
latest: true
extract: true
- name: unpack and move frontend release
run: |
unzip causy/static/causy-ui-*.zip -d causy/static/
mv causy/static/dist/* causy/static/
rm -r causy/static/dist
rm -r causy/static/causy-ui-*.zip
Expand Down

0 comments on commit 59964b0

Please sign in to comment.