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:
parent
4fce394ee4
commit
c028ac9681
@ -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
|
||||||
|
@ -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
|
|
Loading…
Reference in New Issue
Block a user