Skip to content

Commit

Permalink
Fixed .github/workflows/github-releases.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
ctyano committed Nov 13, 2024
1 parent ed58d49 commit 5e0c752
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/github-releases.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
set -x
tag=v${{ github.event.inputs.target_version }}-rego.${{ CI_SHA_SHORT }}
tag=v${{ github.event.inputs.target_version }}-rego.${{ env.CI_SHA_SHORT }}
body=$(curl -sf https://api.github.com/repos/${SOURCE_GITHUB_REPOSITORY}/releases | jq -er ".[] | select(.tag_name == \"v${{ github.event.inputs.target_version }}\") | \"# [\"+.name+\"](\"+.html_url+\")<br>${{ env.OPA_BUILD_MESSAGE }}\"")
curl \
-sf \
Expand All @@ -122,7 +122,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
set -x
tag=v${{ github.event.inputs.target_version }}-rego.${{ CI_SHA_SHORT }}
tag=v${{ github.event.inputs.target_version }}-rego.${{ env.CI_SHA_SHORT }}
release_id=$(curl \
-XGET \
-H "Accept: application/vnd.github+json" \
Expand Down

0 comments on commit 5e0c752

Please sign in to comment.