Skip to content

Commit 3daad38

Browse files
committed
Send commit SHA to asset library API
Attempting to use the tag fails with: { "error": "Using Git tags or branches is no longer supported. Please give a full Git commit hash instead, or use the Custom download provider for GitHub Releases downloads." } Use the commit hash instead, as described in the action documentation. https://phabricator.endlessm.com/T35503
1 parent ea8ac79 commit 3daad38

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

asset-template.json.hb

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"cost": "MIT",
88
"support_level": "community",
99
"download_provider": "GitHub",
10-
"download_commit": "{{ context.release.tag_name }}",
10+
"download_commit": "{{ env.GITHUB_SHA }}",
1111
"browse_url": "{{ context.repository.html_url }}",
1212
"issues_url": "{{ context.repository.html_url }}/issues",
1313
"icon_url": "https://raw.githubusercontent.com/endlessm/godot-block-coding/{{ context.release.tag_name }}/icon.png"

0 commit comments

Comments
 (0)