allow versioned resources when building for linux
@@ -56,8 +56,8 @@ pushd concourse/
mkdir -p $ASSETS_DIR/resources
- for resource in blobs/resources/*-resource.tar.gz; do
- resource_name="$(basename $resource | sed -e 's/-resource.tar.gz//')"
+ for resource in blobs/resources/*-resource*.tar.gz; do
+ resource_name="$(basename $resource | sed -e 's/-resource*.tar.gz//')"
resource_version="$(sha1sum $resource | awk '{print $1}')"
if [ -z "$resource_version" ]; then
echo "could not compute resource version" >&2
