SHELL := /bin/bash include .gitlab/Makefile .PHONY: run run: docker-compose run --service-ports minecraft .PHONY: update-version update-version: ifdef VERSION @echo $(VERSION) > VERSION @yq e ".version = \"$(VERSION)\"" -i helm/Chart.yaml @yq e ".appVersion = \"$(VERSION)\"" -i helm/Chart.yaml @yq e ".services.*.image = \"$(IMAGE)\"" -i docker-compose.yaml @yq e ".image = \"$(IMAGE)\"" -i helm/values.yaml else @echo 'VERSION not defined or VERSION file not found/empty' endif