Skip to content

v0.4.0

Compare
Choose a tag to compare
@jmooring jmooring released this 20 Sep 23:33
· 54 commits to main since this release
0a376a3

Breaking change

The .hvm file now contains the version identifier instead of the path to the Hugo executable. To accommodate this change:

  1. In directories where version management is enabled, run hvm use to create an .hvm file with the new format.
  2. Update the alias that you created in the second step of the installation instructions. Run hvm gen alias --help for details.

This change means that the .hvm file for any given project is valid regardless of operating system. If you check the .hvm file into source control, all project collaborators can test and build their Hugo sites using the same version.

After cloning the project or pulling changes, install the version specified in the .hvm file:

hvm install --useVersionInDotFile

Changelog

  • 06ce6f4 all: Improve prose in README and command messages
  • b0b81fc cmd/disable: Use past tense in status message
  • 0a376a3 cmd/gen: Create alias function for Windows PowerShell
  • cba9c47 cmd/install: Add flag to install version specified in dot file
  • d756b2e cmd/status: Change --printExecPath exit code
  • 89f4fc2 cmd/status: Honor sortAscending config option
  • 9569265 cmd/test: Use system env var HVM_GITHUBTOKEN if present
  • f408802 cmd/use: Improve help text
  • d24f141 cmd: Add gen command to generate alias scripts
  • 463412b cmd: Make the hvm dot file independent of OS and environment
  • fbe9ebb cmd: Remove -v and --version flags from subcommands
  • 016230c misc: Remove detrius
  • 8dca82d misc: Update README