Skip to content

Commit

Permalink
Make GetCatalog executable if it exists but not executable
Browse files Browse the repository at this point in the history
  • Loading branch information
kurtbahartr committed Dec 10, 2024
1 parent ef9c10e commit 01d61d0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,9 @@ jobs:
# Execute the script and save the output
if [ -x scripts/GetCatalog.sh ]; then
GH_TOKEN=$GH_TOKEN ./scripts/GetCatalog.sh > release_notes.md
elif [ -f scripts/GetCatalog.sh ]; then
chmod +x scripts/GetCatalog.sh
GH_TOKEN=$GH_TOKEN ./scripts/GetCatalog.sh > release_notes.md
else
echo "scripts/GetCatalog.sh is not executable or not found"
exit 1
Expand Down

0 comments on commit 01d61d0

Please sign in to comment.