Added system/info endpoint, implement tagging
This commit is contained in:
7
Makefile
7
Makefile
@@ -1,8 +1,8 @@
|
||||
#!make
|
||||
SHELL := /bin/bash
|
||||
|
||||
export API_VERSION = $(shell awk -F ' = ' '$$1 ~ /package.version/ { gsub(/[\"]/, "", $$2); printf("%s",$$2) }' api/Cargo.toml)
|
||||
export UI_VERSION := $(shell awk -F'"' '/"version"/ { print $$4 }' ui/package.json)
|
||||
export API_VERSION = $(shell sed -n 's/^version *= *"\([^"]*\)".*/\1/p' api/Cargo.toml)
|
||||
export UI_VERSION=$(shell sed -n 's/.*"version": *"\([^"]*\)".*/\1/p' ui/package.json)
|
||||
|
||||
include .env
|
||||
-include .env.local
|
||||
@@ -128,3 +128,6 @@ push: ## Build and push a specific docker image (`make push f=httpd`)
|
||||
cert: domain=$(if $(d),$(d),${NGINX_HOST})
|
||||
cert: ## Generate a cert for the given domain
|
||||
./scripts/generate_cert.sh ${domain}
|
||||
|
||||
tag: ## Tag the commits based on versions
|
||||
@./scripts/tag.sh
|
||||
|
||||
Reference in New Issue
Block a user