Compare commits

..

No commits in common. "ee1b849c1b024b7361d6138d4d1e2817e39b6d08" and "d51c4dde90e9d36f918fff8f3ff6a101a51ab0d8" have entirely different histories.

2 changed files with 8 additions and 5 deletions

View file

@ -4,7 +4,7 @@ NEW_VERSION=$(cat Cargo.toml | rg '^\s*version\s*=\s*"([^"]*)"\s*$' -or '$1')
GIT_COMMIT_SHA=$(git rev-parse HEAD) GIT_COMMIT_SHA=$(git rev-parse HEAD)
REPO=${PWD##*/} # name of cwd REPO=${PWD##*/} # name of cwd
BODY=" BODY="
$(git log $(git describe --tags --abbrev=0)..HEAD --pretty="- %s" --oneline --no-decorate) $(git log $(git describe --tags --abbrev=0)..HEAD --pretty="- %s" --oneline --decorate)
" "
USER=PlexSheep USER=PlexSheep
git tag "v$NEW_VERSION" || echo "could not tag" git tag "v$NEW_VERSION" || echo "could not tag"

View file

@ -99,11 +99,14 @@ fn main() {
let mut config = Hedu::new(cli.chars, cli.skip, cli.show_identical, cli.limit); let mut config = Hedu::new(cli.chars, cli.skip, cli.show_identical, cli.limit);
// FIXME: find a better way to get the file name // FIXME: find a better way to get the file name
// Currently, skipped sources make an extra newline here. // Currently, skipped sources make an extra newline here.
if config.chars { match config.chars {
println!("{:─^80}", format!(" {} ", cli.data_source[i])); false => {
} else {
println!("{:─^59}", format!(" {} ", cli.data_source[i])); println!("{:─^59}", format!(" {} ", cli.data_source[i]));
} }
true => {
println!("{:─^80}", format!(" {} ", cli.data_source[i]));
}
}
match config.dump(&mut **source) { match config.dump(&mut **source) {
Ok(()) => (), Ok(()) => (),
Err(err) => { Err(err) => {