Skip to content

Commit

Permalink
fix check for exisiting tag (#112)
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Tverråen authored Mar 3, 2021
1 parent c659e81 commit 1586916
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/tagging.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
chart=$(dirname $chart)
version=$(cat ${chart}/Chart.yaml | grep "version:" | awk '{ print $2 }')
if git rev-parse "${chart}-${version}" >/dev/null 2>&1; then
if [ $(git tag -l "${chart}-${version}") ]; then
echo "tag "${chart}-${version}" -m "${chart}-${version}" exists";
else
git tag -a "${chart}-${version}" -m "${chart}-${version}" || true
Expand Down

0 comments on commit 1586916

Please sign in to comment.