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

Update snapshot appcast and fix release script

This commit is contained in:
Tae Won Ha 2022-03-30 22:54:33 +02:00
parent 1bef38e651
commit e34f905f80
No known key found for this signature in database
GPG Key ID: E40743465B5B8B44
2 changed files with 15 additions and 16 deletions

View File

@ -6,22 +6,23 @@
<description>Most recent changes with links to updates for VimR.</description> <description>Most recent changes with links to updates for VimR.</description>
<language>en</language> <language>en</language>
<item> <item>
<title>SNAPSHOT-20220323.180713</title> <title>SNAPSHOT-20220330.224200</title>
<link>https://twitter.com/vimrefined</link> <link>https://twitter.com/vimrefined</link>
<sparkle:version>20220323.180713</sparkle:version> <sparkle:version>20220330.224200</sparkle:version>
<sparkle:shortVersionString>SNAPSHOT-20220323.180713</sparkle:shortVersionString> <sparkle:shortVersionString>SNAPSHOT-20220330.224200</sparkle:shortVersionString>
<description><![CDATA[ <description><![CDATA[
<p>Since last snapshot:</p>
<ul> <ul>
<li>GH-922: Add an option to set font smoothing.</li> <li>GH-928: Bugfix: Files containing some special characters in their names cannot be opened</li>
</ul> </ul>
]]></description> ]]></description>
<releaseNotesLink> <releaseNotesLink>
https://github.com/qvacua/vimr/releases/tag/snapshot/20220323.180713 https://github.com/qvacua/vimr/releases/tag/snapshot/20220330.224200
</releaseNotesLink> </releaseNotesLink>
<pubDate>2022-03-23T18:16:10.030704</pubDate> <pubDate>2022-03-30T22:53:54.541584</pubDate>
<minimumSystemVersion>10.13.0</minimumSystemVersion> <minimumSystemVersion>10.13.0</minimumSystemVersion>
<enclosure url="https://github.com/qvacua/vimr/releases/download/snapshot/20220323.180713/VimR-SNAPSHOT-20220323.180713.tar.bz2" <enclosure url="https://github.com/qvacua/vimr/releases/download/snapshot/20220330.224200/VimR-SNAPSHOT-20220330.224200.tar.bz2"
sparkle:edSignature="CrbUdpVuXgNRQyslJ+e10me48AqhOup1cffCJRuSVDoY+MvHeAJ6MGfqQWh8Am1vFUc3dn2NtZt7GbzH4E87Cw==" length="20911862" sparkle:edSignature="gQZfTIjg5SnMlR22+WzIiNZGxveEcTbtJO7o16zc4qXbwzbsXWVQ7g7yoBLzYO7dydPu65d93rMcn5QQ+IpqBQ==" length="20913311"
type="application/octet-stream"/> type="application/octet-stream"/>
</item> </item>
</channel> </channel>

View File

@ -68,16 +68,14 @@ build_release() {
create_gh_release() { create_gh_release() {
if [[ "${is_snapshot}" == true ]]; then if [[ "${is_snapshot}" == true ]]; then
gh release create \ gh release create "${tag}" \
--discussion-category "general" \ --discussion-category "general" \
--prerelease \ --prerelease \
--target "${tag}" \
--title "${github_release_name}" \ --title "${github_release_name}" \
--notes "${release_notes}" --notes "${release_notes}"
else else
gh release create \ gh release create "${tag}" \
--discussion-category "general" \ --discussion-category "general" \
--target "${tag}" \
--title "${github_release_name}" \ --title "${github_release_name}" \
--notes "${release_notes}" --notes "${release_notes}"
fi fi
@ -118,9 +116,9 @@ main() {
pushd "$(dirname "${BASH_SOURCE[0]}")/.." >/dev/null pushd "$(dirname "${BASH_SOURCE[0]}")/.." >/dev/null
check_version # check_version
prepare_bin # prepare_bin
build_release # build_release
if [[ "${create_gh_release}" == true ]]; then if [[ "${create_gh_release}" == true ]]; then
create_gh_release create_gh_release