File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -13,19 +13,19 @@ jobs:
1313 permissions :
1414 contents : write
1515 env :
16- CURRENT_DOCS_VERSION : release /0.20.0
16+ CURRENT_DOCS_VERSION : nightly /0.5.2077
1717 steps :
1818 - uses : actions/checkout@v4
19- # with:
20- # ref: main
19+ with :
20+ ref : main
2121
2222 - run : |
2323 git clone https://github.com/gitbutlerapp/gitbutler ../gitbutler
2424
2525 - name : Compare versions
2626 id : versions
2727 run : |
28- LATEST_RELEASE=$(git -C ../gitbutler tag --sort=-version:refname | grep '^release /' | head -n 1)
28+ LATEST_RELEASE=$(git -C ../gitbutler tag --sort=-version:refname | grep '^nightly /' | head -n 1)
2929
3030 echo "latest_release=$LATEST_RELEASE" >> "$GITHUB_OUTPUT"
3131
Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ rm -f cli-docs/*
3838
3939# Regenerate documentation using cargo
4040echo " Regenerating CLI documentation with cargo..."
41- cargo run -p but-clap --bin but-clap
41+ cargo run -p but-clap --bin but-clap --features raw-clap-docs
4242
4343echo " Documentation files regenerated successfully!"
4444echo
You can’t perform that action at this time.
0 commit comments