mirror of
https://github.com/kvz/bash3boilerplate.git
synced 2025-01-18 10:26:22 +00:00
Better versioning
This commit is contained in:
parent
619688bb0f
commit
c3297e4a7a
@ -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
|
||||
|
@ -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
|
||||
|
2
main.sh
2
main.sh
@ -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)
|
||||
|
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user