We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 50b1078 commit 6bf482bCopy full SHA for 6bf482b
.github/workflows/publish-release.yml
@@ -29,9 +29,7 @@ jobs:
29
- name: Publish GitHub release
30
id: fetch-id
31
run: |
32
- tag=$(gh api -H "Accept: application/vnd.github+json" -H "X-GitHub-Api-Version: 2022-11-28"\
33
- /repos/statisticsnorway/maskinporten-guardian/releases\
34
- | jq -r 'map(select(.draft == true)) | first | .tag_name')
+ tag=$(gh api -H "Accept: application/vnd.github+json" -H "X-GitHub-Api-Version: 2022-11-28" /repos/statisticsnorway/maskinporten-guardian/releases | jq -r 'map(select(.draft == true)) | first | .tag_name')
35
echo "tag=${tag}" >> "$GITHUB_OUTPUT"
36
gh release edit $tag --draft=false
37
env:
0 commit comments