Skip to content

Commit

Permalink
Restore BUNDLER_VERSION string in packaing script to ensure packaing …
Browse files Browse the repository at this point in the history
…works when internet access is unavailable

Signed-off-by: Joseph Palermo <[email protected]>
  • Loading branch information
selzoc authored and jpalermo committed Nov 12, 2024
1 parent 7c37570 commit 291235a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/bosh_aws_cpi/packaging
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env sh
#!/usr/bin/env bash

set -e

Expand All @@ -11,6 +11,7 @@ cp -a bosh_aws_cpi/* ${BOSH_INSTALL_TARGET}

cd ${BOSH_INSTALL_TARGET}

export BUNDLER_VERSION="$(bundle -v | grep -o -e '[0-9.]*')"
bundle config set --local cache_path 'vendor/package'

bosh_bundle_local

0 comments on commit 291235a

Please sign in to comment.