From 9285ef76f5c07495a4625a378b938e54a10e2e5c Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Thu, 14 Nov 2013 18:38:51 -0200 Subject: Makefile version update --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 7d734ff..c42f50b 100644 --- a/Makefile +++ b/Makefile @@ -15,7 +15,7 @@ # PACKAGE = keyringer -VERSION = 0.2.6 +VERSION = 0.2.7 PREFIX ?= /usr/local INSTALL = /usr/bin/install -- cgit v1.2.3 From 8bbdffc3e95a74b5a747edd481bde5651bceff5a Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Thu, 14 Nov 2013 18:43:12 -0200 Subject: Development: commit after updating debian/changelog --- development.mdwn | 1 + 1 file changed, 1 insertion(+) diff --git a/development.mdwn b/development.mdwn index 26a865c..bf04ff6 100644 --- a/development.mdwn +++ b/development.mdwn @@ -74,6 +74,7 @@ Update the debian branch: git checkout debian git-import-orig --upstream-vcs-tag=$VERSION ../tarballs/keyringer-$VERSION.tar.bz2 dch -e # fine tune the changelog prepared by git-dch + git commit -a -m "Updating debian/changelog" Push everything: -- cgit v1.2.3 From 96a4a07c598b26987ed29fbae3cd721f199b6113 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Thu, 14 Nov 2013 18:48:34 -0200 Subject: Makefile cleanup --- Makefile | 1 - 1 file changed, 1 deletion(-) diff --git a/Makefile b/Makefile index c42f50b..0182482 100644 --- a/Makefile +++ b/Makefile @@ -49,4 +49,3 @@ build_man: tarball: git archive --prefix=keyringer-$(VERSION)/ --format=tar HEAD | bzip2 >../tarballs/keyringer-$(VERSION).tar.bz2 - #cd ../tarballs && ln -s keyringer-$(VERSION).tar.bz2 keyringer-$(VERSION).orig.tar.bz2 -- cgit v1.2.3 From 02fd4b1ffc1e57ae393b765dc4451b66d21b6238 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Thu, 14 Nov 2013 19:01:33 -0200 Subject: Keyringer 0.2.8 --- ChangeLog | 4 ++++ Makefile | 2 +- development.mdwn | 3 ++- keyringer | 2 +- lib/keyringer/functions | 1 + 5 files changed, 9 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index b66f924..69d58bb 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2013-11-14 - 0.2.8 Silvio Rhatto + + Updated development workflow and version scheme + 2013-11-14 - 0.2.7 Silvio Rhatto Ramdisk check for temporary folders (closes #13) diff --git a/Makefile b/Makefile index 0182482..0d2ef3a 100644 --- a/Makefile +++ b/Makefile @@ -15,7 +15,7 @@ # PACKAGE = keyringer -VERSION = 0.2.7 +VERSION = $(shell ./keyringer | head -n 1 | cut -d ' ' -f 2) PREFIX ?= /usr/local INSTALL = /usr/bin/install diff --git a/development.mdwn b/development.mdwn index bf04ff6..cfedb4b 100644 --- a/development.mdwn +++ b/development.mdwn @@ -46,12 +46,13 @@ Go to master branch Prepare the source code: + $EDITOR keyringer # and update KEYRINGER_VERSION $EDITOR ChangeLog make build_man Commit and tag a release: - VERSION="X.Y.Z" + VERSION="`./keyringer | head -n 1 | cut -d ' ' -f 2`" git commit -a -m "Keyringer $VERSION" git tag -s $VERSION -m "Keyringer $VERSION" diff --git a/keyringer b/keyringer index 7aad6a0..bdb1f6c 100755 --- a/keyringer +++ b/keyringer @@ -119,7 +119,7 @@ function keyringer_dispatch { # Config NAME="keyringer" -KEYRINGER_VERSION="0.2.6" +KEYRINGER_VERSION="0.2.8" CONFIG_VERSION="0.1" CONFIG_BASE="$HOME/.$NAME" CONFIG="$CONFIG_BASE/config" diff --git a/lib/keyringer/functions b/lib/keyringer/functions index 7570a94..4c06198 100755 --- a/lib/keyringer/functions +++ b/lib/keyringer/functions @@ -482,6 +482,7 @@ function keyringer_show_actions { function keyringer_usage { local keyrings="$(ls --color=never `dirname $CONFIG` | sed -e 's/config//' | xargs)" + printf "Keyringer $KEYRINGER_VERSION\n" printf "Usage: %s [arguments]\n\n" "$BASENAME" printf "Available commands: \n\n" keyringer_show_actions | sed -e 's/^/\t/' -- cgit v1.2.3