I've read a handful of tutorials on writing shell scripts but found it difficult to find one that emphasized on portability/POSIX compliancy. I'd like the script to run just fine in sh, dash, bash and zsh. Any feedback is appreciated - for one thing, I'm a bit unsure about where to use $variable
and ${variable}
...
Intended usage
##Intended usage
- Features are merged back into the development branch.
- Releases are continuously merged back into the development branch (bugfixes) and, once the release branch is considered stable enough (decided upon by the user), merged into master (with a tag), ending the release branch.
- Hotfixes are merged back into both the master (with a tag) and the development branch.
Branch model
Branch model
- Temporary
- Branch off from master
- Merge back into development and master
- Naming: "x.y.fix", e.g. "1.2.1" (x, y is defined by release, "hotfix/" is prepended)
- Signed tag needed when merging with master
Script
##Script