zed/script/create-draft-release

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

9 lines
155 B
Text
Raw Normal View History

#!/usr/bin/env bash
preview=""
if [[ "$GITHUB_REF_NAME" == *"-pre" ]]; then
preview="-p"
fi
gh release create -d "$GITHUB_REF_NAME" -F "$1" $preview