We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b7f231e commit 8b1ba83Copy full SHA for 8b1ba83
1 file changed
.github/workflows/build.yml
@@ -28,7 +28,8 @@ jobs:
28
run: |
29
VERSION=$(grep '^version=' gradle.properties | cut -d'=' -f2)
30
TAG="v${VERSION}"
31
- if git ls-remote --tags origin | grep -q "refs/tags/${TAG}$"; then
+ REPO_URL="https://github.com/${{ github.repository }}"
32
+ if git ls-remote --tags "${REPO_URL}" | grep -q "refs/tags/${TAG}$"; then
33
echo "============================================="
34
echo "ERROR: Tag ${TAG} already exists!"
35
echo ""
0 commit comments