Mercurial > public > develkit
view scripts/ssdt-hgflow-init.sh @ 361:7b6d30651db7
Cygwin has an ENV that container 'CI'. Causing build issues. Just check for 'github' to determine if it is a local build
author | davis@ssdt-ohio.org |
---|---|
date | Thu, 16 Nov 2023 15:52:40 -0500 |
parents | f200b931ea9d |
children |
line wrap: on
line source
#!/bin/sh # # hg flow init for SSDT repositories # if [ -f .hgflow ] then echo ".hgflow already exists. Do not re-initialize!" exit 0 fi set -e set -x die () { echo "$1" return 1 } # Enable hg flow with SSDT conventions. # variances from hgflow's default: # master stream: [default] production # develop stream: [develop] default cat > .hgflow << EOF [branchname] master = production develop = default feature = feature/ release = release/ hotfix = hotfix/ support = support/ version_prefix = "" EOF hg flow init -f