Skip to content

Commit

Permalink
Fix github action
Browse files Browse the repository at this point in the history
  • Loading branch information
actions-user committed Aug 23, 2023
1 parent 96f062a commit f4f5f83
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions generator/post_generation_scripts/typescript-axios-ws.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/sh
sed -i 's/name: "RequiredError"/override name: "RequiredError"/g' "$(find out/qovery-client-typescript-axios/base.ts -type f)"
sed -i 's/"^3.6.4"/"~4.5.2"/g' "$(find out/qovery-client-typescript-axios/package.json -type f)"
cp -r generator/files/typescript-axios/.github out/qovery-client-typescript-axios/
cd out/qovery-client-typescript-axios || exit
sed -i 's/name: "RequiredError"/override name: "RequiredError"/g' "$(find out/qovery-client-ws-typescript-axios/base.ts -type f)"
sed -i 's/"^3.6.4"/"~4.5.2"/g' "$(find out/qovery-client-ws-typescript-axios/package.json -type f)"
cp -r generator/files/typescript-axios/.github out/qovery-client-ws-typescript-axios/
cd out/qovery-clientws-typescript-axios || exit
npm install
npm run build

0 comments on commit f4f5f83

Please sign in to comment.