From 55a3a13d892057da55965c3af9d0ed5549576946 Mon Sep 17 00:00:00 2001 From: nicolargo Date: Sat, 12 Jun 2021 09:42:02 +0200 Subject: [PATCH] Add release-note in the Makefile --- Makefile | 10 ++++++++-- docs/man/glances.1 | 2 +- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 5a8dc161..917dcd71 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,5 @@ PORT?=8008 +LASTTAG = $(shell git describe --tags --abbrev=0) install: sensible-browser "https://github.com/nicolargo/glances#installation" @@ -23,8 +24,10 @@ venv-upgrade: ./venv/bin/pip install --upgrade -r requirements.txt ./venv/bin/pip install --upgrade -r optional-requirements.txt -test: - ./unitest-all.sh +test: venv + ./venv/bin/python ./unitest.py + ./venv/bin/python ./unitest-restful.py + ./venv/bin/python ./unitest-xmlrpc.py docs: venv-dev cd docs && ./build.sh @@ -54,4 +57,7 @@ run-client: venv profiling: venv venv-dev @echo "Please complete and run: sudo ./venv/bin/py-spy record -o ./docs/_static/glances-flame.svg -d 60 -s --pid " +release-note: + git log $(LASTTAG)..HEAD --pretty=format:"%s (%an)" + .PHONY: test docs docs-server diff --git a/docs/man/glances.1 b/docs/man/glances.1 index fac8f6ab..b5f5d3e7 100644 --- a/docs/man/glances.1 +++ b/docs/man/glances.1 @@ -1,6 +1,6 @@ .\" Man page generated from reStructuredText. . -.TH "GLANCES" "1" "Jun 05, 2021" "3.2.0b0" "Glances" +.TH "GLANCES" "1" "Jun 12, 2021" "3.2.0b2" "Glances" .SH NAME glances \- An eye on your system .