diff options
author | Ralph Amissah <ralph.amissah@gmail.com> | 2021-02-19 18:06:18 -0500 |
---|---|---|
committer | Ralph Amissah <ralph.amissah@gmail.com> | 2021-02-24 16:36:46 -0500 |
commit | fd77b1806c114aa10d45734326f2ec4e443bb1d3 (patch) | |
tree | f534899e65e716486deb8e57ab6cf359cd792a95 /makefile | |
parent | track in org nix/dub.selections.nix (diff) |
make changelog & echo version tag
Diffstat (limited to 'makefile')
-rw-r--r-- | makefile | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -85,6 +85,17 @@ markup_pod_samples: find data/pod -name pod.manifest | cut -f 1-3 -d / | sort markup_dir_samples: find data/sisudir/media/text -name *.ss[tm] | sort +version_tag: + echo "DRV=0.11.2; git tag -f doc-reform_v$$\{DRV} -m\"doc-reform $$\{DRV}\" HEAD" && \ + echo "git tag -f doc-reform_v0.11.2 -m\"doc-reform spine-0.11.2\" HEAD" +changelog: + git log --pretty=format:'---%+s %+as %ae%+h%d%+b' --no-merges | sed "/^\\s*$$/d" | sed "s/^---$$//" | sed "s/^\(\*\)\+/-/" | sed "s/ \+$$//" > CHANGELOG_ +gitZip: + git archive -v --format=tar --prefix=`echo spine-$(PROG_VER_DECLARED)-tag-$(PROG_VER_GIT)`/ HEAD | gzip > ../spine-$(PROG_VER_DECLARED)-tag-$(PROG_VER_GIT).tar.gz && \ + echo "to unzip: tar -xzf spine-$(PROG_VER_DECLARED)-tag-$(PROG_VER_GIT).tar.gz" +gitArchive: + git archive -v --format=tar --prefix=spine-$(PROG_VER_DECLARED)-tag-$(PROG_VER_GIT)/ HEAD | gzip > ../spine-$(PROG_VER_DECLARED)-tag-$(PROG_VER_GIT).tar.gz && \ + echo "to unzip: tar -xzf spine-$(PROG_VER_DECLARED)-tag-$(PROG_VER_GIT).tar.gz" dub_upgrade: $(DUB) upgrade default: ldc |