<commit_before>#!/bin/bash

set -eu

version=dev
concourse_stemcell_url=$(cat example-compilation-vars.json | jq -r .concourse_stemcell_url)
concourse_stemcell_sha1=$(cat example-compilation-vars.json | jq -r .concourse_stemcell_sha1)
concourse_stemcell_version=$(cat example-compilation-vars.json | jq -r .concourse_stemcell_version)
director_stemcell_url=$(cat example-compilation-vars.json | jq -r .director_stemcell_url)
director_stemcell_sha1=$(cat example-compilation-vars.json | jq -r .director_stemcell_sha1)
director_stemcell_version=$(cat example-compilation-vars.json | jq -r .director_stemcell_version)
director_bosh_release_url=$(cat example-compilation-vars.json | jq -r .director_bosh_release_url)
director_bosh_release_sha1=$(cat example-compilation-vars.json | jq -r .director_bosh_release_sha1)
director_bosh_release_version=$(cat example-compilation-vars.json | jq -r .director_bosh_release_version)
director_bosh_cpi_release_url=$(cat example-compilation-vars.json | jq -r .director_bosh_cpi_release_url)
director_bosh_cpi_release_sha1=$(cat example-compilation-vars.json | jq -r .director_bosh_cpi_release_sha1)
director_bosh_cpi_release_version=$(cat example-compilation-vars.json | jq -r .director_bosh_cpi_release_version)
concourse_release_url=$(cat example-compilation-vars.json | jq -r .concourse_release_url)
concourse_release_version=$(cat example-compilation-vars.json | jq -r .concourse_release_version)
garden_release_url=$(cat example-compilation-vars.json | jq -r .garden_release_url)
garden_release_version=$(cat example-compilation-vars.json | jq -r .garden_release_version)

go build -ldflags "
  -X github.com/engineerbetter/concourse-up/bosh.concourseStemcellURL=$concourse_stemcell_url
  -X github.com/engineerbetter/concourse-up/bosh.concourseStemcellVersion=$concourse_stemcell_version
  -X github.com/engineerbetter/concourse-up/bosh.concourseCompiledReleaseURL=$concourse_release_url
  -X github.com/engineerbetter/concourse-up/bosh.concourseReleaseVersion=$concourse_release_version
  -X github.com/engineerbetter/concourse-up/bosh.gardenCompiledReleaseURL=$garden_release_url
  -X github.com/engineerbetter/concourse-up/bosh.gardenReleaseVersion=$garden_release_version
  -X github.com/engineerbetter/concourse-up/bosh.directorStemcellURL=$director_stemcell_url
  -X github.com/engineerbetter/concourse-up/bosh.directorStemcellSHA1=$director_stemcell_sha1
  -X github.com/engineerbetter/concourse-up/bosh.directorCPIReleaseURL=$director_bosh_cpi_release_url
  -X github.com/engineerbetter/concourse-up/bosh.directorCPIReleaseSHA1=$director_bosh_cpi_release_sha1
  -X github.com/engineerbetter/concourse-up/bosh.directorReleaseURL=$director_bosh_release_url
  -X github.com/engineerbetter/concourse-up/bosh.directorReleaseSHA1=$director_bosh_release_sha1
  -X main.concourseUpVersion=$version
" -o concourse-up

chmod +x concourse-up

echo "$PWD/concourse-up"<commit_msg>reinstate build_local camel-casing after noticing dirty commit<commit_after>#!/bin/bash

set -eu

version=dev
concourse_stemcell_url=$(cat example-compilation-vars.json | jq -r .concourse_stemcell_url)
concourse_stemcell_sha1=$(cat example-compilation-vars.json | jq -r .concourse_stemcell_sha1)
concourse_stemcell_version=$(cat example-compilation-vars.json | jq -r .concourse_stemcell_version)
director_stemcell_url=$(cat example-compilation-vars.json | jq -r .director_stemcell_url)
director_stemcell_sha1=$(cat example-compilation-vars.json | jq -r .director_stemcell_sha1)
director_stemcell_version=$(cat example-compilation-vars.json | jq -r .director_stemcell_version)
director_bosh_release_url=$(cat example-compilation-vars.json | jq -r .director_bosh_release_url)
director_bosh_release_sha1=$(cat example-compilation-vars.json | jq -r .director_bosh_release_sha1)
director_bosh_release_version=$(cat example-compilation-vars.json | jq -r .director_bosh_release_version)
director_bosh_cpi_release_url=$(cat example-compilation-vars.json | jq -r .director_bosh_cpi_release_url)
director_bosh_cpi_release_sha1=$(cat example-compilation-vars.json | jq -r .director_bosh_cpi_release_sha1)
director_bosh_cpi_release_version=$(cat example-compilation-vars.json | jq -r .director_bosh_cpi_release_version)
concourse_release_url=$(cat example-compilation-vars.json | jq -r .concourse_release_url)
concourse_release_version=$(cat example-compilation-vars.json | jq -r .concourse_release_version)
garden_release_url=$(cat example-compilation-vars.json | jq -r .garden_release_url)
garden_release_version=$(cat example-compilation-vars.json | jq -r .garden_release_version)

go build -ldflags "
  -X github.com/EngineerBetter/concourse-up/bosh.concourseStemcellURL=$concourse_stemcell_url
  -X github.com/EngineerBetter/concourse-up/bosh.concourseStemcellVersion=$concourse_stemcell_version
  -X github.com/EngineerBetter/concourse-up/bosh.concourseCompiledReleaseURL=$concourse_release_url
  -X github.com/EngineerBetter/concourse-up/bosh.concourseReleaseVersion=$concourse_release_version
  -X github.com/EngineerBetter/concourse-up/bosh.gardenCompiledReleaseURL=$garden_release_url
  -X github.com/EngineerBetter/concourse-up/bosh.gardenReleaseVersion=$garden_release_version
  -X github.com/EngineerBetter/concourse-up/bosh.directorStemcellURL=$director_stemcell_url
  -X github.com/EngineerBetter/concourse-up/bosh.directorStemcellSHA1=$director_stemcell_sha1
  -X github.com/EngineerBetter/concourse-up/bosh.directorCPIReleaseURL=$director_bosh_cpi_release_url
  -X github.com/EngineerBetter/concourse-up/bosh.directorCPIReleaseSHA1=$director_bosh_cpi_release_sha1
  -X github.com/EngineerBetter/concourse-up/bosh.directorReleaseURL=$director_bosh_release_url
  -X github.com/EngineerBetter/concourse-up/bosh.directorReleaseSHA1=$director_bosh_release_sha1
  -X main.concourseUpVersion=$version
" -o concourse-up

chmod +x concourse-up

echo "$PWD/concourse-up"
{'fraction_non_alphanumeric': 0.09981295698010542, 'fraction_numerical': 0.004761095051861928, 'mean_word_length': 7.475504322766571, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2703428', 'n_tokens_mistral': 2186, 'n_tokens_neox': 2038, 'n_words': 245}