File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- 0.0.4
1+ 0.0.5
Original file line number Diff line number Diff line change 11Delete stale feature branches in your ` Kubernetes ` cluster.
22
3+ [ ![ Release] ( https://img.shields.io/github/release/dmytrostriletskyi/stale-feature-branch-operator.svg )] ( https://github.com/dmytrostriletskyi/stale-feature-branch-operator/releases )
4+ [ ![ Build Status] ( https://travis-ci.com/dmytrostriletskyi/stale-feature-branch-operator.svg?branch=master )] ( https://travis-ci.com/dmytrostriletskyi/stale-feature-branch-operator )
5+
36* [ Getting Started] ( #getting-started )
47 * [ Feature Branch] ( #feature-branch )
58 * [ Motivation] ( #motivation )
Original file line number Diff line number Diff line change 8282 serviceAccountName : stale-feature-branch-operator
8383 containers :
8484 - name : stale-feature-branch-operator
85- image : dmytrostriletskyi/stale-feature-branch-operator:v0.0.4
85+ image : dmytrostriletskyi/stale-feature-branch-operator:v0.0.5
8686 imagePullPolicy : Always
8787 env :
8888 - name : OPERATOR_NAME
Original file line number Diff line number Diff line change 66SUCCESSFUL_EXIST_CODE=0
77FAILED_EXIST_CODE=1
88
9+ if [[ $TRAVIS_BRANCH == ' master' ]]; then
10+ echo " No checks for a project version when it's master branch."
11+ exit " $(( SUCCESSFUL_EXIST_CODE)) "
12+ fi
13+
914if ! [[ $( git diff origin/master...HEAD ' :!ops/check-project-version.sh' | grep " b/.project-version" ) ]]; then
1015 echo " You forgot to adjust file .project-version according to semantic versioning."
1116 exit " $(( FAILED_EXIST_CODE)) "
You can’t perform that action at this time.
0 commit comments