From 0fba02199c7ada3b5b9090657ab85d1c39abc44d Mon Sep 17 00:00:00 2001 From: Tom French Date: Fri, 26 Jan 2024 13:24:35 +0000 Subject: [PATCH] fix(docs): codegen docs before cutting a new version --- .github/workflows/release.yml | 2 +- docs/package.json | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 7dfc844d18f..71a0ab6d894 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -87,7 +87,7 @@ jobs: - name: Cut a new version working-directory: ./docs - run: yarn docusaurus docs:version ${{ steps.noir-version.outputs.semver }} + run: yarn version ${{ steps.noir-version.outputs.semver }} - name: Configure git run: | diff --git a/docs/package.json b/docs/package.json index 6c706e4f514..71b624ff565 100644 --- a/docs/package.json +++ b/docs/package.json @@ -7,7 +7,8 @@ "start": "yarn preprocess && docusaurus start", "build": "yarn preprocess && yarn version::stables && docusaurus build", "version::stables": "ts-node ./scripts/setStable.ts", - "serve": "serve build" + "serve": "serve build", + "version": "yarn preprocess && docusaurus docs:version" }, "dependencies": { "@docusaurus/core": "^3.0.1",