Skip to content

Commit

Permalink
Version bump to 0.5.1
Browse files Browse the repository at this point in the history
  • Loading branch information
fadado committed Apr 17, 2017
1 parent 81f03e7 commit eedf6c2
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 23 deletions.
19 changes: 1 addition & 18 deletions CHANGES
Original file line number Diff line number Diff line change
@@ -1,42 +1,25 @@
Version :
- Version bump to
Version 0.5.1:
- Created jqt.make
- Migrated generation to jq
- Implementing external jq
- Started blog
- Segregated layouts
- Changed top level object name
- Introspected menu
- Some renaming
- Generated sitemap
- Completed makefile modules
- Rules generated introspecting
- Generated makefile for extra dependencies
- Renamed make modules
- Generated JSON for pages
- More modules at make.d
- use addsuffix function
- Enabled second expansion
- Generate site.json
- New name inside introspect
- Renaming macros
- Exploring introspection
- New target "metadata"
- Protected target clobber
- Implemented default globals
- Make files reorganized
- Makefile subdivided in fragments
- Added favicon
- General solution for assets
- Big makefile reorganization
- New styles organization
- Better filenames
- Restructuring docs
- Merge branch 'mac'
- New tests
- Content macros moved
- New tests
- Moved install documentation
- Created directory for macros
- Enhanced README

Expand Down
1 change: 1 addition & 0 deletions VERSION
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
0.5.1
4 changes: 2 additions & 2 deletions bin/jqt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# jqt - jq based web template engine

declare -r VERSION='''''0.5.0''0.4.0'
declare -r VERSION='0.5.1'
declare -r DATADIR='/usr/local/share'

declare -r SELF=${0##*/}
Expand Down Expand Up @@ -529,7 +529,7 @@ function usage
function help
{
cat <<'EOF'
jqt - jq based web template engine [version ]
jqt - jq based web template engine [version 0.5.1]
Usage: jqt [-h | --help | -p | -V | --version]
jqt [options] < infile > result
jqt [options] infile > result
Expand Down
8 changes: 6 additions & 2 deletions bump-version.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,11 @@ if [[ -f VERSION ]]; then
V_PATCH=0
declare -r SUGGESTED_VERSION="${V_MAJOR}.${V_MINOR}.${V_PATCH}"
read 1>&2 -p "Enter a version number [${SUGGESTED_VERSION}]: "
[[ -z $REPLY ]] && NEXT_VERSION=${SUGGESTED_VERSION}
if [[ -z $REPLY ]]; then
NEXT_VERSION=${SUGGESTED_VERSION}
else
NEXT_VERSION=${REPLY}
fi
echo 1>&2 "Will set new version to be ${NEXT_VERSION}"
echo -n ${NEXT_VERSION} > VERSION
{ echo "Version ${NEXT_VERSION}:"
Expand All @@ -35,7 +39,7 @@ if [[ -f VERSION ]]; then
cp /tmp/$$-changes CHANGES
rm /tmp/$$-changes
git add CHANGES VERSION
sed -i "s/^declare -r VERSION=/&'${NEXT_VERSION}'/" bin/jqt
sed -i "s/^declare -r VERSION=$/declare -r VERSION=${NEXT_VERSION}'/" bin/jqt
sed -i "s/\[version .*\]/[version ${NEXT_VERSION}]/" bin/jqt
sed -i "s/^Version *:=.*/Version := ${NEXT_VERSION}/" docs/Makefile
git commit -am "Version bump to ${NEXT_VERSION}"
Expand Down
2 changes: 1 addition & 1 deletion docs/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
include make.d/prelude.make

# jqt version
Version :=
Version := 0.5.1

# Metadata directory
Metadata := .meta
Expand Down

0 comments on commit eedf6c2

Please sign in to comment.