Skip to content

Commit

Permalink
fix(gh): release check failed
Browse files Browse the repository at this point in the history
  • Loading branch information
deimosfr committed Dec 30, 2019
1 parent 2aeb408 commit 5f9c797
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,11 @@ jobs:
name: Fetch tags
run: git fetch --depth=1 origin +refs/tags/*:refs/tags/*
- name: Ensure tag match the current version
run: if [ $(grep "Qovery version" cmd/version.go | sed -r 's/.+version (.+)".+/\1/') != $(git tag | tail -1) ] ; then echo "Tag version do not match application version" ; exit 1 ; fi
run: |
if [ "v$(grep 'Qovery version' cmd/version.go | sed -r 's/.+version (.+)\".+/\1/')" != "$(git tag | tail -1)" ] ; then
echo "Tag version do not match application version"
exit 1
fi
-
name: Set up Go
uses: actions/setup-go@master
Expand Down

0 comments on commit 5f9c797

Please sign in to comment.