Skip to content

Commit

Permalink
fix: generate docs after releasing as we cannot access a package that… (
Browse files Browse the repository at this point in the history
#255)

Signed-off-by: Francisco Javier Ribo Labrador <[email protected]>
  • Loading branch information
elribonazo committed Jul 19, 2024
1 parent 34597e1 commit 70efa8b
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions publish.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 " '")
Expand All @@ -28,3 +27,7 @@ if [[ $published_versions == *$release_version* ]]; then
else
npm publish --access public
fi


# Build docs
npm run docs

1 comment on commit 70efa8b

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lines Statements Branches Functions
Coverage: 75%
75.29% (2785/3699) 64.98% (1355/2085) 80.55% (721/895)

JUnit

Tests Skipped Failures Errors Time
504 6 💤 0 ❌ 0 🔥 1m 15s ⏱️

Please sign in to comment.