generate-files:
    cargo run -- --man > ./man/man1/sk.1
    cargo run -- --shell bash > ./shell/completion.bash
    cargo run -- --shell zsh > ./shell/completion.zsh
    cargo run -- --shell fish > ./shell/completion.fish

release version:
    sed -i 's/^version = ".*"/version = "{{ version }}"/' ./Cargo.toml
    just generate-files
    git add Cargo.toml man/ shell/
    git commit -m 'chore: release v{{ version }}'
    git tag 'v{{ version }}'
    git push
    git push --tags
