Skip to content

Commit

Permalink
Fix missing fi
Browse files Browse the repository at this point in the history
  • Loading branch information
devth committed Sep 15, 2021
1 parent 99f8056 commit 6bebcdd
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/update-helm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Update Helm

on:
issues:
types: [opened]
types: [opened]

jobs:
check:
Expand Down Expand Up @@ -62,14 +62,15 @@ jobs:
git config user.name github-actions
git config user.email github-actions@github.com
git pull --tags
if git rev-parse "${MAJOR_VERSION}" >/dev/null 2>&1
then
echo "Deleting git tags for ${MAJOR_VERSION}"
git tag -d ${MAJOR_VERSION}
git push origin :refs/tags/${MAJOR_VERSION}
fi
git tag $MAJOR_VERSION
git push --tags

0 comments on commit 6bebcdd

Please sign in to comment.