Skip to content
1 change: 1 addition & 0 deletions CHANGELOG-1.x.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@
- [51d055a](https://github.com/patternfly/patternfly-elements/commit/51d055ae15b3570c6d902c60d45163a0154e1011) feat: Add automerge action for pull requests when their base PR is updated
- [24f1057](https://github.com/patternfly/patternfly-elements/commit/24f105789ffb01541e7892f59df0352272bab2a1) fix: updated pfe-autocomplete slotted input to use correct font (#1151)
- [9501ebb](https://github.com/patternfly/patternfly-elements/commit/9501ebb87cfc371563c04ba155a101846fe26e20) fix: Update baseline snapshots to cover full page
- [](https://github.com/patternfly/patternfly-elements/commit/) fix: Add a build step to the release script
6 changes: 6 additions & 0 deletions scripts/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,11 @@ npmInstall() {
npm ci || exit 1
}

npmBuild() {
log "build the repository"
npm run build || exit 1
}

commitIgnoredFiles() {
log "committing compiled bundles to release branch"
git add elements/*/dist/ -f || exit 1
Expand Down Expand Up @@ -132,6 +137,7 @@ checkoutMaster
bumpVersion
createBranch
npmInstall
npmBuild
commitIgnoredFiles
gitTag
removeIgnoredFiles
Expand Down