Skip to content

Commit

Permalink
Revert "Use the minor version in _package.json" (Qiskit#407)
Browse files Browse the repository at this point in the history
This PR reverts Qiskit#394. The change was a temporary
solution until we had a different way of building the version URLs.
  • Loading branch information
arnaucasau authored Nov 27, 2023
1 parent f57cb17 commit 9cff6c3
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion docs/api/qiskit-ibm-provider/_package.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"name": "qiskit-ibm-provider",
"version": "0.7"
"version": "0.7.2"
}
2 changes: 1 addition & 1 deletion docs/api/qiskit-ibm-runtime/_package.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"name": "qiskit-ibm-runtime",
"version": "0.15"
"version": "0.15.0"
}
2 changes: 1 addition & 1 deletion docs/api/qiskit/0.44/_package.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"name": "qiskit",
"version": "0.44"
"version": "0.44.0"
}
2 changes: 1 addition & 1 deletion docs/api/qiskit/_package.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"name": "qiskit",
"version": "0.45"
"version": "0.45.0"
}
2 changes: 1 addition & 1 deletion scripts/commands/updateApiDocs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -419,7 +419,7 @@ async function convertHtmlToMarkdown(
}

console.log("Generating version file");
const pkg_json = { name: pkg.name, version: versionWithoutPatch };
const pkg_json = { name: pkg.name, version: version };
await writeFile(
`${markdownPath}/_package.json`,
JSON.stringify(pkg_json, null, 2) + "\n",
Expand Down

0 comments on commit 9cff6c3

Please sign in to comment.