Skip to content

Commit e6018a5

Browse files
committed
try with nightly instead
1 parent 3cfb671 commit e6018a5

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

.github/workflows/update-generated-docs.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff 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

scripts/update-manpages.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ rm -f cli-docs/*
3838

3939
# Regenerate documentation using cargo
4040
echo "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

4343
echo "Documentation files regenerated successfully!"
4444
echo

0 commit comments

Comments
 (0)