Skip to content

Commit

Permalink
chore: install standard-version before running bump (aws#11312)
Browse files Browse the repository at this point in the history
This [PR](aws#11307) migrated our CLI usage of `standard-version` to be used in code as a library. But the library is not installed anywhere.

----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
  • Loading branch information
iliapolo authored Nov 5, 2020
1 parent d1e88a6 commit 8478153
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
5 changes: 4 additions & 1 deletion bump.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,7 @@
#
# --------------------------------------------------------------------------------------------------
set -euo pipefail
./scripts/bump.js ${1:-minor}
scriptdir=$(cd $(dirname $0) && pwd)
cd ${scriptdir}
yarn
${scriptdir}/scripts/bump.js ${1:-minor}
3 changes: 2 additions & 1 deletion scripts/bump-candidate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,5 @@
# --------------------------------------------------------------------------------------------------
set -euo pipefail
scriptdir=$(cd $(dirname $0) && pwd)
BUMP_CANDIDATE=true ${scriptdir}/bump.js ${1:-minor}
rootdir=${scriptdir}/..
BUMP_CANDIDATE=true ${rootdir}/bump.sh ${1:-minor}

0 comments on commit 8478153

Please sign in to comment.