Skip to content
This repository has been archived by the owner on Dec 9, 2024. It is now read-only.

Commit

Permalink
fix: Run install before generating changelog (#335)
Browse files Browse the repository at this point in the history
  • Loading branch information
tbarlow12 committed Sep 13, 2019
1 parent 6b0a3ee commit f8c0c42
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"prebuild": "shx rm -rf lib/ && npm run test",
"build": "npm run compile",
"generate:spn": "bash ./scripts/generate-service-principal.sh",
"generate:changelog": "./node_modules/.bin/conventional-changelog -p angular -i CHANGELOG.md -s -r 0",
"generate:changelog": "conventional-changelog -p angular -i CHANGELOG.md -s -r 0",
"generate:changelog-condensed": "npm run generate:changelog && node ./scripts/condenseChangelog.js"
},
"repository": {
Expand Down
2 changes: 2 additions & 0 deletions scripts/version.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ echo "Checked out branch: ${SOURCE_BRANCH_NAME}"
NPM_VERSION=`npm version ${NPM_RELEASE_TYPE} -m "release: Update ${NPM_RELEASE_TYPE} version to %s ***NO_CI***"`
echo "Set NPM version to: ${NPM_VERSION}"

npm ci

# Generate full changelog (shows beta releases) on a prerelease
if [ ${NPM_RELEASE_TYPE} = "prerelease" ]
then
Expand Down

0 comments on commit f8c0c42

Please sign in to comment.