12 lines
345 B
Bash
Executable File
12 lines
345 B
Bash
Executable File
#!/bin/bash
|
|
cd "$(dirname "$0")"
|
|
|
|
git checkout dist
|
|
|
|
npx @openapitools/openapi-generator-cli generate -g typescript-angular -i http://127.0.0.1:8000/openapi.json -o . -p npmRepository=https://git.aquapoly.ca/kylebouchard/Aquadash-backend-client -p ngVersion=17.1.0 -p npmName=aquadash-backend
|
|
|
|
git commit -m `date`
|
|
|
|
git push
|
|
|
|
git checkout master |