Skip to content

Commit 494caec

Browse files
Fix master build (#4)
1 parent d526218 commit 494caec

4 files changed

Lines changed: 10 additions & 2 deletions

File tree

.project-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.0.4
1+
0.0.5

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
Delete 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)

configs/production.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ spec:
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

ops/check-project-version.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,11 @@
66
SUCCESSFUL_EXIST_CODE=0
77
FAILED_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+
914
if ! [[ $(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))"

0 commit comments

Comments
 (0)