Skip to content
This repository has been archived by the owner on May 5, 2022. It is now read-only.

Commit

Permalink
Merge pull request #66 from echo-webkom/develop
Browse files Browse the repository at this point in the history
master <- develop
  • Loading branch information
bakseter authored May 19, 2021
2 parents 9fcba1a + 7ee2f11 commit 1228b7d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/release_tag.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,15 @@ jobs:
LABELS=$(echo "${{ toJson(github.event.pull_request.labels.*.name) }}")
{ if [[ "$LABELS" == *"major"* ]]; then
MAJOR=$((MAJOR+1))
MINOR=0
PATCH=0
elif [[ "$LABELS" == *"minor"* ]]; then
MINOR=$((MINOR+1))
elif [[ "$LABELS" == *"patch"* ]]; then
PATCH=$((PATCH+1))
else
echo "No release labels found."
exit 0
fi
if [[ "$VERSION" == "" ]]; then
MAJOR=1
Expand Down

0 comments on commit 1228b7d

Please sign in to comment.