Skip to content

Commit

Permalink
Add release notes, version command.
Browse files Browse the repository at this point in the history
  • Loading branch information
jonseymour committed Jul 29, 2015
1 parent db44349 commit 8380b3e
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,11 @@ sphere-stack is licensed under the MIT License. See LICENSE for the full license

# Revisions

##1.2
* replace all configuration with environment files
* generate all environment files from master configuration using shell templates
* add support for init and edit commands

##1.1
* added 'sphere-stack.sh' to encapsulate scriplets used in instructions
* ensured that resources used by resources-docker-compose.yml are located on persistent storage of the VM
Expand Down
8 changes: 7 additions & 1 deletion sphere-stack.sh
Original file line number Diff line number Diff line change
@@ -1,10 +1,15 @@
#!/usr/bin/env bash

VERSION=1.2

die() {
echo "$*" 1>&2
exit 1
}

version() {
echo "$VERSION"
}

ip() {
if test -n "$DOCKER_HOST"; then
Expand Down Expand Up @@ -201,13 +206,14 @@ $0 start [resources|services] - start the specified composition
$0 stop [resources|services] - stop the specified composition
$0 logs [resources|services] - logs from the specified composition
$0 restart [resources|services] - restart the specified composition
$0 version - report the script version
EOF
}

cmd=$1
shift 1
case $cmd in
init)
init|version)
$cmd "$@"
;;
create|ip|domain|hosts-append|machine|start|stop|logs|recreate|init|edit)
Expand Down

0 comments on commit 8380b3e

Please sign in to comment.