mirror of
https://github.com/zed-industries/zed.git
synced 2024-11-24 06:19:37 +00:00
02447a8552
It turns out that messing with the git repo created by the github action is tricky, so we'll just clone our own. On my machine, a shallow tree-less clone takes <500ms Release Notes: - N/A
8 lines
177 B
Bash
Executable file
8 lines
177 B
Bash
Executable file
#!/usr/bin/env bash
|
|
|
|
preview=""
|
|
if [[ "$GITHUB_REF_NAME" == *"-pre" ]]; then
|
|
preview="-p"
|
|
fi
|
|
|
|
gh release create -t "$GITHUB_REF_NAME" -d "$GITHUB_REF_NAME" -F "$1" $preview
|