1
1
mirror of https://github.com/qvacua/vimr.git synced 2024-11-23 19:21:53 +03:00

Fix set version script

This commit is contained in:
Tae Won Ha 2023-11-29 19:41:22 +01:00
parent 9eb5e350d7
commit e314633772
No known key found for this signature in database
GPG Key ID: E40743465B5B8B44

View File

@ -63,13 +63,22 @@ declare -r -x github_release_name=${github_release_name}
declare -r -x release_notes=\$(cat release-notes.temp.md)
# 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
)
readonly output
local output_exec
output_exec=$(cat <<-END
create_gh_release=true upload=true update_appcast=true release_spec_file=${bundle_version}-${version_marker}.sh ./bin/build_release.sh
END
)
readonly output_exec
echo "Release notes" > release-notes.temp.md
echo "${output}" > "${bundle_version}-${version_marker}.sh"
echo "${output_exec" > "build_release.temp.sh"
chmod +x "build_release.temp.sh"
echo "### Tag, commit and push with ${tag}."
echo "Then, add release notes to release-notes.temp.md."
@ -80,7 +89,7 @@ END
echo "create_gh_release=true upload=true update_appcast=true \\"
echo "./bin/build_release.sh"
echo ""
echo "OR do ${bundle_version}-${version_marker}.sh"
echo "OR do build_release.temp.sh"
}
main