Skip to content

Commit

Permalink
Merge pull request #204 from cyberark/local-dev-version
Browse files Browse the repository at this point in the history
Update to support auto-local VERSION files
  • Loading branch information
ismarc authored Jan 18, 2022
2 parents 8cbd1c8 + 526eaf2 commit 00233f9
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
5 changes: 5 additions & 0 deletions dev/start
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@ function v5_development() {
docker exec -e CONJUR_AUTHN_API_KEY="$api_key" -it --detach-keys 'ctrl-\' $(docker-compose ps -q gem) bash
}

# Set up VERSION file for local development
if [ ! -f "../VERSION" ]; then
echo -n "0.0.dev" > ../VERSION
fi

docker-compose pull
docker-compose build

Expand Down
4 changes: 4 additions & 0 deletions test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ function finish {

trap finish EXIT

# Set up VERSION file for local development
if [ ! -f "../VERSION" ]; then
echo -n "0.0.dev" > ../VERSION
fi

function main() {
if ! docker info >/dev/null 2>&1; then
Expand Down

0 comments on commit 00233f9

Please sign in to comment.