Skip to content

Commit

Permalink
ci: fix permissions for gh release view
Browse files Browse the repository at this point in the history
  • Loading branch information
fbozic committed Dec 3, 2024
1 parent d282b1c commit 1c500a8
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/rust_binaries_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,21 @@ jobs:
outputs:
binaries: ${{ steps.setup_matrix.outputs.binaries }}
steps:
- name: Get version info
id: version_info
shell: bash
run: |
version="merod-0.1.1"
echo "Master version: $version"
gh release view "$version" --repo calimero-network/core
if gh release view "$version" --repo ${{ github.repository }} >/dev/null 2>&1; then
echo "Master release for this version already exists"
else
echo "New master release required"
fi
- name: Setup matrix
id: setup_matrix
run: |
Expand Down

0 comments on commit 1c500a8

Please sign in to comment.