Skip to content

Commit

Permalink
get version using full path, so fix api with more than 1 version fields
Browse files Browse the repository at this point in the history
Signed-off-by: Matthias Gatto <[email protected]>
  • Loading branch information
outscale-mgo committed Oct 1, 2024
1 parent b4fc44e commit 6e8b4af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cognac_gen.sh
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ EOF

replace_args()
{
API_VERSION=$(json-search -R version < osc-api.json)
API_VERSION=$(jq -r .info.version < osc-api.json)
SDK_VERSION=$(cat sdk-version)
while IFS= read -r line
do
Expand Down

0 comments on commit 6e8b4af

Please sign in to comment.