Skip to content

Commit

Permalink
Prepared new version (git-versioning/0.0.27)
Browse files Browse the repository at this point in the history
  • Loading branch information
dotmpe committed Jul 12, 2015
1 parent bb525da commit 34ef5a4
Show file tree
Hide file tree
Showing 37 changed files with 47 additions and 47 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ ifeq ($(PROJECT),)
PROJECT := $(notdir $(BASE))
endif

VERSION := 0.0.27-test# git-versioning
VERSION := 0.0.27# git-versioning
#ID := git-versioning/0.0.16-master
#VERSION := $(patsubst $(PROJECT)/%,%,$(ID))

Expand Down
8 changes: 4 additions & 4 deletions ReadMe.rst
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
GIT Versioning Hooks
====================
:Created: 2015-04-19
:Version: 0.0.27-test
:Status: Dev
:Version: 0.0.27
:Status: Release
:project:

.. image:: https://secure.travis-ci.org/dotmpe/git-versioning.png
Expand Down Expand Up @@ -227,7 +227,7 @@ possible to include a comment on the line (ie. JSON).


.. rSt example:
.. Id: git-versioning/0.0.27-test ReadMe.rst
.. Id: git-versioning/0.0.27 ReadMe.rst
Expand Down Expand Up @@ -345,4 +345,4 @@ Makefile
.. _semver: http://semver.org/
.. _sitefile: http://github.com/dotmpe/node-sitefile

.. Id: git-versioning/0.0.27-test ReadMe.rst
.. Id: git-versioning/0.0.27 ReadMe.rst
2 changes: 1 addition & 1 deletion Rules.git-hooks.shared.mk
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Id: git-versioning/0.0.27-test Rules.git-hooks.shared.mk
# Id: git-versioning/0.0.27 Rules.git-hooks.shared.mk

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

Expand Down
2 changes: 1 addition & 1 deletion Rules.git-versioning.mk
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Id: git-versioning/0.0.27-test Rules.git-versioning.mk
# Id: git-versioning/0.0.27 Rules.git-versioning.mk


empty :=
Expand Down
2 changes: 1 addition & 1 deletion Rules.git-versioning.shared.mk
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Id: git-versioning/0.0.27-test Rules.git-versioning.shared.mk
# Id: git-versioning/0.0.27 Rules.git-versioning.shared.mk


# print version from main file
Expand Down
2 changes: 1 addition & 1 deletion Rules.mk
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# created local Rules to configure and test git-versioning hooks

# Id: git-versioning/0.0.27-test Rules.mk
# Id: git-versioning/0.0.27 Rules.mk


git-pre-commit::
Expand Down
2 changes: 1 addition & 1 deletion bin/cli-version.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ TOOLS=$V_SH_SHARE/tools
# Path to versioned files
V_TOP_PATH=.

# Id: git-versioning/0.0.27-test bin/cli-version.sh
# Id: git-versioning/0.0.27 bin/cli-version.sh

source $LIB/git-versioning.sh

Expand Down
2 changes: 1 addition & 1 deletion lib/formats.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

# Id: git-versioning/0.0.27-test lib/formats.sh
# Id: git-versioning/0.0.27 lib/formats.sh

# reStructureText
RST_VER_TOKEN=':\([Vv]\)ersion:'
Expand Down
6 changes: 3 additions & 3 deletions lib/git-versioning.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ V_SH_SOURCED=$_
V_SH_MAIN=$0
V_SH_LIB=$BASH_SOURCE

# Id: git-versioning/0.0.27-test lib/git-versioning.sh
# version: 0.0.27-test git-versioning lib/git-versioning.sh
# Id: git-versioning/0.0.27 lib/git-versioning.sh
# version: 0.0.27 git-versioning lib/git-versioning.sh

source $LIB/util.sh

version=0.0.27-test # git-versioning
version=0.0.27 # git-versioning

[ -n "$PREFIX" ] || {
PREFIX=/usr/local
Expand Down
2 changes: 1 addition & 1 deletion lib/util.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

# Id: git-versioning/0.0.27-test lib/util.sh
# Id: git-versioning/0.0.27 lib/util.sh

gitAddAll()
{
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "git-versioning",
"version": "0.0.27-test",
"version": "0.0.27",
"description": "Shell hooks and util for GIT versioning",
"homepage": "https://github.com/dotmpe/git-versioning",
"author": "B. van Berkum",
Expand Down
6 changes: 3 additions & 3 deletions package.yaml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
# git-versioning main: git-versioning

# Id: git-versioning/0.0.27-test package.yaml
# Id: git-versioning/0.0.27 package.yaml
# Start

- type: application/x-project-mpe
id: git-versioning
version: 0.0.27-test # git-versioning
version: 0.0.27 # git-versioning
environments: [ 'development' ]

# End
# Id: git-versioning/0.0.27-test package.yaml
# Id: git-versioning/0.0.27 package.yaml

2 changes: 1 addition & 1 deletion test/example/build.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<project name="git-versioning">

<!-- Id: git-versioning -->
<var name="git-versioning.version" value="0.0.27-test" />
<var name="git-versioning.version" value="0.0.27" />

</project>
2 changes: 1 addition & 1 deletion test/example/clike_comment_id.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@

# Id: git-versioning/0.0.27-test test/example/clike_comment_id.sh
# Id: git-versioning/0.0.27 test/example/clike_comment_id.sh

2 changes: 1 addition & 1 deletion test/example/clike_comment_version.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@

# version: 0.0.27-test git-versioning
# version: 0.0.27 git-versioning

2 changes: 1 addition & 1 deletion test/example/coffee_var_version.coffee
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@

version = "0.0.27-test" # git-versioning
version = "0.0.27" # git-versioning

2 changes: 1 addition & 1 deletion test/example/js_var_version.js
Original file line number Diff line number Diff line change
@@ -1 +1 @@
var version = '0.0.27-test'; // git-versioning
var version = '0.0.27'; // git-versioning
2 changes: 1 addition & 1 deletion test/example/json_version.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"version": "0.0.27-test"
"version": "0.0.27"
}
2 changes: 1 addition & 1 deletion test/example/mk_var_version.mk
Original file line number Diff line number Diff line change
@@ -1 +1 @@
VERSION := 0.0.27-test# git-versioning
VERSION := 0.0.27# git-versioning
4 changes: 2 additions & 2 deletions test/example/properties_version.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Id: git-versioning/0.0.27-test test/example/properties_version.properties
# Id: git-versioning/0.0.27 test/example/properties_version.properties

git-versioning.version=0.0.27-test
git-versioning.version=0.0.27

4 changes: 2 additions & 2 deletions test/example/rst_field_id.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

.. Id: git-versioning/0.0.27-test test/example/rst_field_id.rst
.. Id: git-versioning/0.0.27 test/example/rst_field_id.rst
:Id: git-versioning/0.0.27-test test/example/rst_field_id.rst
:Id: git-versioning/0.0.27 test/example/rst_field_id.rst

4 changes: 2 additions & 2 deletions test/example/rst_field_version.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

.. Id: git-versioning/0.0.27-test test/example/rst_field_version.rst
.. Id: git-versioning/0.0.27 test/example/rst_field_version.rst
:Version: 0.0.27-test (git-versioning)
:Version: 0.0.27 (git-versioning)

2 changes: 1 addition & 1 deletion test/example/sh_var_version.sh
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
version=0.0.27-test # git-versioning
version=0.0.27 # git-versioning
echo $version
2 changes: 1 addition & 1 deletion test/example/yaml_version.yaml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
version: 0.0.27-test # git-versioning
version: 0.0.27 # git-versioning
2 changes: 1 addition & 1 deletion test/git-versioning.bats
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
load helpers

bin=git-versioning
version=0.0.27-test # git-versioning
version=0.0.27 # git-versioning

@test "no arguments prints application info" {
echo bin=${bin}
Expand Down
2 changes: 1 addition & 1 deletion test/helpers.bash
Original file line number Diff line number Diff line change
Expand Up @@ -38,5 +38,5 @@ output_lists_versioned_files()
rm $TMPF
}

# Id: git-versioning/0.0.27-test test/helpers.bash
# Id: git-versioning/0.0.27 test/helpers.bash

2 changes: 1 addition & 1 deletion tools/cmd/append-version-to-commit-msg.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/bash
# Id: git-versioning/0.0.27-test tools/cmd/append-version-to-commit-msg.sh
# Id: git-versioning/0.0.27 tools/cmd/append-version-to-commit-msg.sh
# 1:commit-msg-file 2:commit-msg-src 3:commit-updates-sha1
APP_ID=$(git-versioning app-id)
cp $1 $1.tmp
Expand Down
2 changes: 1 addition & 1 deletion tools/cmd/prep-version.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

# Id: git-versioning/0.0.27-test tools/cmd/prep-version.sh
# Id: git-versioning/0.0.27 tools/cmd/prep-version.sh

# Script to reset flags for (auto) increments

Expand Down
2 changes: 1 addition & 1 deletion tools/cmd/src-files.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

# Id: git-versioning/0.0.27-test tools/cmd/src-files.sh
# Id: git-versioning/0.0.27 tools/cmd/src-files.sh

# Seed code for 'src-files' command. Lists (versioned) src files.

Expand Down
2 changes: 1 addition & 1 deletion tools/cmd/src-tree.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

# Id: git-versioning/0.0.27-test tools/cmd/src-tree.sh
# Id: git-versioning/0.0.27 tools/cmd/src-tree.sh

# Seed code for 'src-tree' command. Formats indented tree with (versioned) src files.

Expand Down
2 changes: 1 addition & 1 deletion tools/cmd/test-for-clean-branch.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/bash
# Id: git-versioning/0.0.27-test tools/cmd/test-for-clean-branch.sh
# Id: git-versioning/0.0.27 tools/cmd/test-for-clean-branch.sh
# 1:branchref 2:branchcommitsha1

# TODO: test wether V_MAIN_DOC version for pre-release tag
Expand Down
2 changes: 1 addition & 1 deletion tools/cmd/version-check.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

# Id: git-versioning/0.0.27-test tools/cmd/version-check.sh
# Id: git-versioning/0.0.27 tools/cmd/version-check.sh

# External hook for git-vesioning.
# See V_CHECK=$V_TOP_PATH/tools/version-check.sh
Expand Down
2 changes: 1 addition & 1 deletion tools/git-hooks/post-commit-old.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# Made to work from paths listed in .versioned-files.list
# Case allows easy per-project custom versioned file name/ext and format.

# Id: git-versioning/0.0.27-test tools/git-hooks/post-commit-old.sh
# Id: git-versioning/0.0.27 tools/git-hooks/post-commit-old.sh

V_TOP_PATH=$(git rev-parse --show-toplevel)

Expand Down
2 changes: 1 addition & 1 deletion tools/git-hooks/pre-commit-old.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
# Made to work from paths listed in .versioned-files.list
# Case allows easy per-project custom versioned file name/ext and format.

# Id: git-versioning/0.0.27-test tools/git-hooks/pre-commit-old.sh
# Id: git-versioning/0.0.27 tools/git-hooks/pre-commit-old.sh

V_TOP_PATH=$(git rev-parse --show-toplevel)

Expand Down
2 changes: 1 addition & 1 deletion tools/git-hooks/pre-commit.sh
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# Id: git-versioning/0.0.27-test tools/git-hooks/pre-commit.sh
# Id: git-versioning/0.0.27 tools/git-hooks/pre-commit.sh
make git-pre-commit
2 changes: 1 addition & 1 deletion tools/git-hooks/pre-push.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Id: git-versioning/0.0.27-test tools/git-hooks/pre-push.sh
# Id: git-versioning/0.0.27 tools/git-hooks/pre-push.sh
while read LOCAL_REF LOCAL_SHA1 REMOTE_REF REMOTE_SHA1
do
make git-pre-push \
Expand Down
2 changes: 1 addition & 1 deletion tools/git-hooks/prepare-commit-msg.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# Id: git-versioning/0.0.27-test tools/git-hooks/prepare-commit-msg.sh
# Id: git-versioning/0.0.27 tools/git-hooks/prepare-commit-msg.sh
make git-prepare-commit-msg \
COMMIT_MSG=$1 COMMIT_MSG_SRC=$2 COMMIT_UPDATES=$3

0 comments on commit 34ef5a4

Please sign in to comment.