Skip to content

v0.1.1

Choose a tag to compare

@yangsi7 yangsi7 released this 08 Jul 20:10

Maintenance + polish release.

Fixed

  • Permission preservation on Linux. copy_perms tried BSD stat -f first (on GNU that means --file-system and does not error), so rotated files were left at the temp file's 0600 instead of their original mode. Now tries GNU stat -c first, then BSD stat -f.
  • install.sh: EXIT-trap cleanup under set -u, and --help no longer depends on $0 (works under curl | bash).

Added

  • Homebrew: brew install yangsi7/tap/rotate.
  • Animated demo in the README.

Install

brew install yangsi7/tap/rotate
# or
curl -fsSL https://raw.githubusercontent.com/yangsi7/rotate-env/v0.1.1/install.sh | bash