Skip to content

Commit

Permalink
ci: fix for netlify version set
Browse files Browse the repository at this point in the history
  • Loading branch information
RanolP committed Jul 31, 2024
1 parent 47ccd0e commit 4ed48e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,5 @@ if (branch.stdout.trim() != 'main') {
const version = `${hash}`;

$.quote = (s) => s;
await $`sed -E "s/version:.+/version: \\"${version}\\"/" -i "build/tsp-output/@typespec/openapi3/openapi.yaml"`;
await $`sed -E "s/version:.+/version: \\"${version}\\"/" -i "build/unofficial-documentation/tsp-output/@typespec/openapi3/openapi.yaml"`;
}

0 comments on commit 4ed48e4

Please sign in to comment.