Skip to content
This repository was archived by the owner on Dec 30, 2022. It is now read-only.

Commit 9c0bf91

Browse files
committed
Set 1.16 manually
Signed-off-by: DeathsGun <deathsgun@protonmail.com>
1 parent 575d8b9 commit 9c0bf91

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ jobs:
7575
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
7676
run: |
7777
gh api repos/{owner}/{repo}/releases \
78-
--jq '.[] | select(.draft == true) | select(.target_commitish=="${{ needs.build.outputs.target }}") | .id' \
78+
--jq '.[] | select(.draft == true) | select(.target_commitish=="1.16") | .id' \
7979
| xargs -I '{}' gh api -X DELETE repos/{owner}/{repo}/releases/{}
8080
# Create new release draft - which is not publicly visible and requires manual acceptance
8181
- name: Create Release Draft
@@ -84,7 +84,7 @@ jobs:
8484
run: |
8585
gh release create v${{ needs.build.outputs.version }} \
8686
--draft \
87-
--target "${{ needs.build.outputs.target }}" \
87+
--target 1.16 \
8888
--title "v${{ needs.build.outputs.version }}" \
8989
--notes "$(cat << 'EOM'
9090
${{ needs.build.outputs.changelog }}

0 commit comments

Comments
 (0)