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 47b6b34 commit 9633c2eCopy full SHA for 9633c2e
1 file changed
.github/workflows/release.yml
@@ -78,6 +78,16 @@ jobs:
78
echo "📱 App Version: $app_version"
79
echo "🔖 Is Tag: $is_tag"
80
81
+ - name: Check if release already exists
82
+ run: |
83
+ if gh release view "${{ steps.version.outputs.release_version }}" &>/dev/null; then
84
+ echo "❌ Release ${{ steps.version.outputs.release_version }} already exists. Stopping workflow."
85
+ exit 1
86
+ fi
87
+ echo "✅ Release ${{ steps.version.outputs.release_version }} does not exist. Proceeding."
88
+ env:
89
+ GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
90
+
91
# Run tests
92
test:
93
needs: validate
0 commit comments