summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNat Goodspeed <nat@lindenlab.com>2024-02-26 12:20:31 -0500
committerNat Goodspeed <nat@lindenlab.com>2024-03-01 16:19:01 -0500
commitd7e6a7dbd057e03984583f4524953f8ae5250f17 (patch)
tree64d2a63ee2c5213ab043bdd9a2c01a5bbe2a5f8f
parent603d3a865a0f619488555dd2d205e0eff4280cc5 (diff)
Try basing the GH release on github.ref_name instead of github.ref.
Using github.ref as action-gh-release's target_commitish produces: ⚠️ GitHub release failed with status: 422 [{"resource":"Release","code":"invalid","field":"target_commitish"}] (cherry picked from commit c6a6db8488a8b3e7ea6534fbf5e2fe2b17864421)
-rw-r--r--.github/workflows/build.yaml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml
index 6713e429cc..b156133799 100644
--- a/.github/workflows/build.yaml
+++ b/.github/workflows/build.yaml
@@ -382,7 +382,7 @@ jobs:
${{ needs.build.outputs.relnotes }}
prerelease: true
generate_release_notes: true
- target_commitish: ${{ github.ref }}
+ target_commitish: ${{ github.ref_name }}
append_body: true
fail_on_unmatched_files: true
files: |