Skip to content

Commit

Permalink
Add .version file to bundle (#150)
Browse files Browse the repository at this point in the history
  • Loading branch information
Elad Ben-Israel committed Aug 6, 2018
1 parent e0156a5 commit fc205d6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions bundle.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ version="$(node -e "console.log(require('./lerna.json').version)")"
commit="${CODEBUILD_RESOLVED_SOURCE_VERSION:-"$(git rev-parse --verify HEAD)"}"

cd pack

# .version is needed by buildable publishers
echo ${version} > .version

dist=${root}/dist
output=${dist}/jsii-${version}+${commit:0:7}.zip
rm -fr ${dist}
Expand Down

0 comments on commit fc205d6

Please sign in to comment.