Skip to content

Commit 9753861

Browse files
committed
Update appcast and adapt release script
1 parent ceafcf4 commit 9753861

File tree

3 files changed

+21
-14
lines changed

3 files changed

+21
-14
lines changed

Diff for: DEVELOP.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -59,11 +59,12 @@ then continuously invoke the `build_nvimserver_for_local_dev` script.
5959
is_snapshot=false marketing_version=0.38.3 ./bin/set_new_versions.sh # for release
6060
```
6161
and commit. This will create a `${bundle_version}-snapshot/release.sh` file to be used
62-
with `build_release.sh`.
62+
with `build_release.sh` and `release-notes.temp.md` for release notes.
6363
* Tag with the name
6464
- Snapshot: `snapshot/yyyymmdd.HHMMSS`
6565
- Release: `vX.Y.Z-yyyymmdd.HHMMSS`
6666
* Push
67+
* Add release notes to `release-notes.temp.md`.
6768
* Build, package and upload via
6869
```bash
6970
create_gh_release=true upload=true update_appcast=true \

Diff for: appcast_snapshot.xml

+14-9
Original file line numberDiff line numberDiff line change
@@ -6,22 +6,27 @@
66
<description>Most recent changes with links to updates for VimR.</description>
77
<language>en</language>
88
<item>
9-
<title>SNAPSHOT-20220419.180005</title>
9+
<title>SNAPSHOT-20220616.153112</title>
1010
<link>https://twitter.com/vimrefined</link>
11-
<sparkle:version>20220419.180005</sparkle:version>
12-
<sparkle:shortVersionString>SNAPSHOT-20220419.180005</sparkle:shortVersionString>
11+
<sparkle:version>20220616.153112</sparkle:version>
12+
<sparkle:shortVersionString>SNAPSHOT-20220616.153112</sparkle:shortVersionString>
1313
<description><![CDATA[
14-
<ul>
15-
<li>Improved tracpad scrolling sensitivity (removed the option for customizing the sensitivity). Thanks @tsung-ju for the PR!</li>
14+
<p>Since last snapshot:</p>
15+
<ul>
16+
<li>Refactor open quickly:</li>
17+
<li>Use <a href="https://github.com/jhawthorn/fzy">fzy</a> instead of <a href="https://github.com/MaskRay/ccls">ccls</a></li>
18+
<li>Replace <a href="https://github.com/ggreer/the_silver_searcher">The Silver Searcher</a>'s ignore mechanism with own implementation in Swift using <a href="https://github.com/davvid/wildmatch">wildmatch</a></li>
19+
<li>Dependencies updates</li>
20+
<li>qvacua/[email protected]</li>
1621
</ul>
1722
]]></description>
1823
<releaseNotesLink>
19-
https://github.com/qvacua/vimr/releases/tag/snapshot/20220419.180005
24+
https://github.com/qvacua/vimr/releases/tag/snapshot/20220616.153112
2025
</releaseNotesLink>
21-
<pubDate>2022-04-19T18:07:05.128691</pubDate>
26+
<pubDate>2022-06-16T15:50:06.459400</pubDate>
2227
<minimumSystemVersion>10.13.0</minimumSystemVersion>
23-
<enclosure url="https://github.com/qvacua/vimr/releases/download/snapshot/20220419.180005/VimR-SNAPSHOT-20220419.180005.tar.bz2"
24-
sparkle:edSignature="MBXpZfvD/qaXWkqpFM8eeeTxXOnEcjiBGzRRJxpj88DepCbES/diPnNECk832A5TS0clt2j/iyzDq7nxFzzCCw==" length="20981009"
28+
<enclosure url="https://github.com/qvacua/vimr/releases/download/snapshot/20220616.153112/VimR-SNAPSHOT-20220616.153112.tar.bz2"
29+
sparkle:edSignature="Q+Hh7w0nDchwWlTMsqxJqgHh1wsw+1276pNndYOIPjpbtg/35Ui2V0UT5cGTiA5v+Lx9z5+OxlAALuaMuu41BA==" length="21554338"
2530
type="application/octet-stream"/>
2631
</item>
2732
</channel>

Diff for: bin/set_new_versions.sh

+5-4
Original file line numberDiff line numberDiff line change
@@ -60,14 +60,15 @@ declare -r -x bundle_version=${bundle_version}
6060
declare -r -x marketing_version=${marketing_version}
6161
declare -r -x tag=${tag}
6262
declare -r -x github_release_name=${github_release_name}
63-
declare -r -x release_notes=\$(cat <<-ENDRN
64-
replace-me
65-
ENDRN
66-
)
63+
declare -r -x release_notes=\$(cat release-notes.temp.md)
64+
65+
# Add release notes to release-notes.temp.md and issue
66+
# create_gh_release=true upload=true update_appcast=true release_spec_file=${bundle_version}-${version_marker}.sh ./bin/build_release.sh
6767
END
6868
)
6969
readonly output
7070

71+
echo "Release notes" > release-notes.temp.md
7172
echo "${output}" > "${bundle_version}-${version_marker}.sh"
7273

7374
echo "### Tag, commit and push with ${tag}"

0 commit comments

Comments
 (0)