Skip to content

Commit a697f5d

Browse files
author
B. van Berkum
committed
Release 0.1.0
1 parent bc2e8d6 commit a697f5d

39 files changed

Lines changed: 59 additions & 49 deletions

ChangeLog.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,3 +38,7 @@ Change Log
3838
0.0.32
3939
- Testing packaging with Travis.
4040

41+
0.1.0
42+
- Incrementing minor because of V_CHECK change. And running production package
43+
release again just for the heck of it.
44+

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ ifeq ($(PROJECT),)
1515
PROJECT := $(notdir $(BASE))
1616
endif
1717

18-
VERSION := 0.0.32# git-versioning
18+
VERSION := 0.1.0# git-versioning
1919
#ID := git-versioning/0.0.16-master
2020
#VERSION := $(patsubst $(PROJECT)/%,%,$(ID))
2121

ReadMe.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ GIT Versioning
22
==============
33
:Created: 2015-04-19
44
:Updated: 2016-04-12
5-
:Version: 0.0.32
5+
:Version: 0.1.0
66
:Status: Dev
77
:project:
88

@@ -84,7 +84,7 @@ Exact specs of variable rewrites may differ per format since its not always
8484
possible to include a comment on the line (ie. JSON).
8585

8686
.. rSt example:
87-
.. Id: git-versioning/0.0.32 ReadMe.rst
87+
.. Id: git-versioning/0.1.0 ReadMe.rst
8888
8989
9090
Other documents
@@ -99,4 +99,4 @@ Other documents
9999
100100
.. _sitefile: http://github.com/dotmpe/node-sitefile
101101

102-
.. Id: git-versioning/0.0.32 ReadMe.rst
102+
.. Id: git-versioning/0.1.0 ReadMe.rst

Rules.git-hooks.shared.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Id: git-versioning/0.0.32 Rules.git-hooks.shared.mk
1+
# Id: git-versioning/0.1.0 Rules.git-hooks.shared.mk
22

33
# http://git-scm.com/docs/githooks
44

Rules.git-versioning.mk

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Id: git-versioning/0.0.32 Rules.git-versioning.mk
1+
# Id: git-versioning/0.1.0 Rules.git-versioning.mk
22

33

44
empty :=
@@ -65,8 +65,14 @@ do-release::
6565
do-release:: M=Release
6666
do-release:: cli-version-check
6767
[ -n "$(VERSION)" ] || exit 1
68-
git ci -m "$(M) $(VERSION)"
69-
git tag $(VERSION)
68+
grep '^'$(VERSION)'$$' ChangeLog.rst || { \
69+
echo "Please fix version or the ChangeLog"; \
70+
exit 2; }
71+
ENV=testing ./configure.sh \
72+
&& ./bin/cli-version.sh check \
73+
&& git checkout .versioned-files.list
74+
git commit -m "$(M) $(VERSION)"
75+
git tag -a -m "$(M) $(VERSION)" $(VERSION)
7076
git push origin
7177
git push --tags
7278
./bin/cli-version.sh increment $(min) $(maj)

Rules.git-versioning.shared.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Id: git-versioning/0.0.32 Rules.git-versioning.shared.mk
1+
# Id: git-versioning/0.1.0 Rules.git-versioning.shared.mk
22

33

44
# print version from main file

Rules.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# created local Rules to configure and test git-versioning hooks
22

3-
# Id: git-versioning/0.0.32 Rules.mk
3+
# Id: git-versioning/0.1.0 Rules.mk
44

55

66
git-pre-commit::

bin/cli-version.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ TOOLS=$V_SH_SHARE/tools
1111
# Path to versioned files
1212
V_TOP_PATH=.
1313

14-
# Id: git-versioning/0.0.32 bin/cli-version.sh
14+
# Id: git-versioning/0.1.0 bin/cli-version.sh
1515

1616
source $LIB/git-versioning.sh
1717

ci-build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/sh
22

3-
version=0.0.32 # git-versioning
3+
version=0.1.0 # git-versioning
44

55
case "$ENV" in
66

lib/formats.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/bash
22

3-
# Id: git-versioning/0.0.32 lib/formats.sh
3+
# Id: git-versioning/0.1.0 lib/formats.sh
44

55
# reStructureText
66
RST_VER_TOKEN=':\([Vv]\)ersion:'

0 commit comments

Comments
 (0)