1
1
mirror of https://github.com/wez/wezterm.git synced 2024-09-19 18:57:59 +03:00
wezterm/ci/create-release.sh

18 lines
558 B
Bash
Raw Normal View History

#!/bin/bash
set -x
name="$1"
notes=$(cat <<EOT
See https://wezfurlong.org/wezterm/changelog.html#$name for the changelog
If you're looking for nightly downloads or more detailed installation instructions:
[Windows](https://wezfurlong.org/wezterm/install/windows.html)
[macOS](https://wezfurlong.org/wezterm/install/macos.html)
[Linux](https://wezfurlong.org/wezterm/install/linux.html)
[FreeBSD](https://wezfurlong.org/wezterm/install/freebsd.html)
EOT
)
gh release view "$name" || gh release create --prerelease --notes "$notes" --title "$name" "$name"