1
1
mirror of https://github.com/qvacua/vimr.git synced 2024-12-26 07:13:24 +03:00

Update release scripts

This commit is contained in:
Tae Won Ha 2023-11-22 13:47:59 +01:00
parent 4fce394ee4
commit c028ac9681
No known key found for this signature in database
GPG Key ID: E40743465B5B8B44
2 changed files with 7 additions and 24 deletions

View File

@ -63,7 +63,7 @@ declare -r -x github_release_name=${github_release_name}
declare -r -x release_notes=\$(cat release-notes.temp.md) declare -r -x release_notes=\$(cat release-notes.temp.md)
# Add release notes to release-notes.temp.md and issue # Add release notes to release-notes.temp.md and issue
# create_gh_release=true upload=true update_appcast=true release_spec_file=${bundle_version}-${version_marker}.sh ./bin/build_release.sh create_gh_release=true upload=true update_appcast=true release_spec_file=${bundle_version}-${version_marker}.sh ./bin/build_release.sh
END END
) )
readonly output readonly output
@ -71,11 +71,16 @@ END
echo "Release notes" > release-notes.temp.md echo "Release notes" > release-notes.temp.md
echo "${output}" > "${bundle_version}-${version_marker}.sh" echo "${output}" > "${bundle_version}-${version_marker}.sh"
echo "### Tag, commit and push with ${tag}" echo "### Tag, commit and push with ${tag}."
echo "Then, add release notes to release-notes.temp.md."
echo ""
echo "### Use the following to build a release:" echo "### Use the following to build a release:"
echo ""
echo "release_spec_file=${bundle_version}-${version_marker}.sh \\" echo "release_spec_file=${bundle_version}-${version_marker}.sh \\"
echo "create_gh_release=true upload=true update_appcast=true \\" echo "create_gh_release=true upload=true update_appcast=true \\"
echo "./bin/build_release.sh" echo "./bin/build_release.sh"
echo ""
echo "OR do ${bundle_version}-${version_marker}.sh"
} }
main main

View File

@ -1,22 +0,0 @@
#!/bin/bash
set -Eeuo pipefail
readonly clean_initial_build=${clean_inital_build:-false}
clean_build() {
local -r -x clean=true
local -r -x build_libnvim=true
./bin/build_nvimserver_for_local_dev.sh
}
main() {
pushd "$(dirname "${BASH_SOURCE[0]}")/.." >/dev/null
if [[ "${clean_initial_build}" == true ]]; then
clean_build
fi
find NvimServer/NvimServer/Sources NvimServer/NvimServerTypes | grep -E '(\.h$|\.c$)' | entr -c ./bin/build_nvimserver_for_local_dev.sh
popd >/dev/null
}
main