Better versioning

This commit is contained in:
Kevin van Zonneveld 2016-02-17 09:35:25 +01:00
parent 619688bb0f
commit c3297e4a7a
4 changed files with 9 additions and 3 deletions

View File

@ -11,4 +11,5 @@ install:
- if [ "$TRAVIS_OS_NAME" = "osx" ]; then which gtimeout || brew install coreutils; fi
# Show versions used
- bash --version
- awk --version
script: test/acceptance.sh

View File

@ -22,6 +22,11 @@ with 3 for instance). If you're going to ask people to install
Bash 4 first, you might as well pick a more advanced language as a
dependency.
We're automatically testing bash3boilerplate and it's proven to work on:
- [Linux](https://travis-ci.org/kvz/bash3boilerplate/jobs/109804166#L91) `GNU bash, version 4.2.25(1)-release (x86_64-pc-linux-gnu)`
- [OSX](https://travis-ci.org/kvz/bash3boilerplate/jobs/109804167#L2453) `GNU bash, version 3.2.51(1)-release (x86_64-apple-darwin13)`
## Features
- Structure

View File

@ -9,7 +9,7 @@
# - https://github.com/kvz/bash3boilerplate
# - http://kvz.io/blog/2013/02/26/introducing-bash3boilerplate/
#
# Version 1.2.0
# Version: 1.2.0
#
# Authors:
# - Kevin van Zonneveld (http://kvz.io)

View File

@ -6,9 +6,9 @@
"release:major": "env SEMANTIC=major npm run release",
"release:minor": "env SEMANTIC=minor npm run release",
"release:patch": "env SEMANTIC=patch npm run release",
"test": "test/acceptance.sh",
"release": "npm version ${SEMANTIC:-patch} -m \"Release %s\" && git push && git push --tags && npm publish",
"save:fixtures": "cross-env SAVE_FIXTURES=true npm run test",
"release": "npm version ${SEMANTIC:-patch} -m \"Release %s\" && git push --tags && npm publish"
"test": "test/acceptance.sh"
},
"dependencies": {
"fakefile": "0.0.6"