Skip to content

Commit

Permalink
remove downloaded files
Browse files Browse the repository at this point in the history
  • Loading branch information
timolegros committed Oct 18, 2024
1 parent 66ce1ad commit 5b9e3d2
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/Versioning.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ jobs:
run: |
git config --global user.name "timolegros"
git config --global user.email "[email protected]"
git add ./libs/api-client/package.json ./packages/commonwealth/server/external-api-config.json
git add libs/api-client/package.json packages/commonwealth/server/external-api-config.json
git commit -m "chore: update client SDK version"
git push origin HEAD
# May need to add a `repo` scoped personal access token
Expand Down
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,5 @@ redis-data
*coverage
**/*.dump.sql
**/*.dump.sql.gz
external-production-openapi.json
external-production-openapi.json
external-openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,7 @@ async function validateExternalApiVersioning() {
format: 'openapi3',
},
});
await Promise.all([unlink(productionOasPath), unlink(localOasPath)]);

if (result.breakingDifferencesFound) {
throw Error('External API has breaking changes, update the Major version');
Expand Down Expand Up @@ -191,7 +192,6 @@ async function validateExternalApiVersioning() {
return;
}

await Promise.all([unlink(productionOasPath), unlink(localOasPath)]);
console.log(`No version updated: ${readableVersion(oldVersion)}`);
}

Expand Down

0 comments on commit 5b9e3d2

Please sign in to comment.