1
1
mirror of https://github.com/qvacua/vimr.git synced 2024-09-11 17:15:34 +03:00

Forgot to un-comment

This commit is contained in:
Tae Won Ha 2024-05-28 12:38:45 +09:00
parent 44c0134fca
commit 0b95059ad1
No known key found for this signature in database
GPG Key ID: E40743465B5B8B44

View File

@ -120,31 +120,31 @@ main() {
pushd "$(dirname "${BASH_SOURCE[0]}")/.." >/dev/null
# check_version
# prepare_bin
# build_release
#
# if [[ "${create_gh_release}" == false ]]; then
# echo "### No github release, exiting"
# exit 0
# fi
#
# local -x GH_TOKEN
# GH_TOKEN=$(cat ~/.local/secrets/github.qvacua.release.token)
# readonly GH_TOKEN
#
# create_gh_release
#
# if [[ "${upload}" == true ]]; then
# # Give GitHub some time.
# sleep 5
# check_gh_release_present
# upload_artifact
# fi
check_version
prepare_bin
build_release
if [[ "${create_gh_release}" == false ]]; then
echo "### No github release, exiting"
exit 0
fi
local -x GH_TOKEN
GH_TOKEN=$(cat ~/.local/secrets/github.qvacua.release.token)
readonly GH_TOKEN
create_gh_release
if [[ "${upload}" == true ]]; then
# Give GitHub some time.
sleep 5
check_gh_release_present
upload_artifact
fi
if [[ "${update_appcast}" == true ]]; then
# Sometimes GitHub is not yet up-to-date with the uploaded asset.
# sleep 5
sleep 5
update_appcast_file
fi