fork/fish-shell

git clone https://git.julia.blue/fork/fish-shell

Johannes Altmanningertests/sphinx-markdown-changelog: workaround for mawk7c61fc515

master
558 B17 linesraw
1#RUN: %fish %s
2#REQUIRES: command -v sphinx-build
3#REQUIRES: python -c 'import sphinx_markdown_builder' || python3 -c 'import sphinx_markdown_builder'
4
5set -l workspace_root (status dirname)/../..
6if not test -e $workspace_root/.git
7    return
8end
9
10$workspace_root/build_tools/release-notes.sh -q >?relnotes.md
11or {
12    echo "Failed to build Markdown release notes, retrying with tracing"
13    sh -x $workspace_root/build_tools/release-notes.sh -q
14    return
15}
16sed -n 1p relnotes.md | grep -q '^## fish \S* (released .*)'
17or echo "Unexpected changelog title"