Skip to content

Commit 6bf482b

Browse files
committed
fix tag
1 parent 50b1078 commit 6bf482b

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

.github/workflows/publish-release.yml

+1-3
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,7 @@ jobs:
2929
- name: Publish GitHub release
3030
id: fetch-id
3131
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')
32+
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')
3533
echo "tag=${tag}" >> "$GITHUB_OUTPUT"
3634
gh release edit $tag --draft=false
3735
env:

0 commit comments

Comments
 (0)