fix(cli,ci): keep --source value in flagsFirst and use GIT_ASKPASS for GitCode push

This commit is contained in:
Nwflower committed 2026-11-29 02:03:29 -07:00
1 parent f85e1aba88
commit 172df5c4d5
3 files changed
+24 -10

No files matched your search

+1 -2
View File
@@ -252,8 +252,7 @@ jobs:
}
$tag = "runtime-$($env:RELEASE_ID)"
git fetch --tags origin
$auth = [Convert]::ToBase64String([Text.Encoding]::ASCII.GetBytes("Nwflower:$($env:GITCODE_TOKEN)"))
git -c "http.extraheader=Authorization: Basic $auth" push "https://gitcode.com/Nwflower/Reims-Go.git" "refs/tags/${tag}:refs/tags/${tag}"
git -c credential.helper= push "https://Nwflower:$($env:GITCODE_TOKEN)@gitcode.com/Nwflower/Reims-Go.git" "refs/tags/${tag}:refs/tags/${tag}"
python scripts/sync-gitcode-release.py $tag
- name: Prune old alpha prereleases