Skip to content

Commit b13cf03

Browse files
authored
Fix artifact generation (#389)
* Change nightly release semantic to fit github * fix the branch name
1 parent d40d505 commit b13cf03

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,6 +199,7 @@ jobs:
199199
200200
RELEASE_NAME="${{ github.ref_name }}"
201201
RELEASE_TAGNAME="release-${{ github.ref_name }}"
202+
BRANCH_NAME="$RELEASE_NAME"
202203
if [[ "${{ github.event.inputs.is_nightly }}" == "true" ]]; then
203204
RELEASE_NAME="nightly-$RELEASE_NAME"
204205
RELEASE_TAGNAME="nightly-$RELEASE_TAGNAME"
@@ -223,7 +224,7 @@ jobs:
223224
name: ${{ env.RELEASE_NAME }}
224225
tag_name: ${{ env.RELEASE_TAGNAME }}
225226
fail_on_unmatched_files: false
226-
target_commitish: ${{ env.RELEASE_NAME }}
227+
target_commitish: ${{ env.BRANCH_NAME }}
227228
body: |
228229
Last updated on ${{ env.RELEASE_DATE }}
229230
files: |

0 commit comments

Comments
 (0)