From 70efa8b16122ab132f36ab1c9f2ac30b3a4b3176 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javier=20Rib=C3=B3?= Date: Fri, 19 Jul 2024 16:11:08 +0200 Subject: [PATCH] =?UTF-8?q?fix:=20generate=20docs=20after=20releasing=20as?= =?UTF-8?q?=20we=20cannot=20access=20a=20package=20that=E2=80=A6=20(#255)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Francisco Javier Ribo Labrador --- publish.sh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/publish.sh b/publish.sh index e617239a4..6f0fa2c01 100755 --- a/publish.sh +++ b/publish.sh @@ -12,9 +12,8 @@ release_version="$1" # Updates the version to the release npm version "$release_version" --git-tag-version false -# Generates the build and docs +# Generates the build npm run build -npm run docs # Gets the published versions in the registry published_versions=$(echo "$(npm view @hyperledger/identus-edge-agent-sdk versions)" | tr -d " '") @@ -28,3 +27,7 @@ if [[ $published_versions == *$release_version* ]]; then else npm publish --access public fi + + +# Build docs +npm run docs \ No newline at end of file