Skip to content

hugo-fixit/fixit-releaser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FixIt Releaser

Versioning, change-log and release for Hugo FixIt Similar commit style.

Features

  • Update FixIt internal version number. (FixIt Only)
  • Generate changelog automatically. (Powered by auto-changelog)

Installation

Package Manager Command
pnpm pnpm add -D @hugo-fixit/fixit-releaser
yarn yarn add -D @hugo-fixit/fixit-releaser
npm npm i -D @hugo-fixit/fixit-releaser

Configuration

Add the following to package.json of FixIt project.

{
  "scripts": {
    "version": "fixit-releaser version --prod",
    "release": "fixit-releaser changelog"
  }
}

The fixit-releaser changelog configuration is compatible with auto-changelog.

Usage

Version

Update the FixIt version from v0.3.12-1ca9fdb7 to v0.3.12.

npx fixit-releaser version --prod

Update the FixIt version from v0.3.12-1ca9fdb7 to v0.3.12-2ca9fdb7.

npx fixit-releaser version --dev

Changelog

Generate the changelog from v0.3.10.

npx fixit-releaser changelog --starting-version v0.3.10
# auto-changelog: 6 kB written to CHANGELOG.md

See more usage in auto-changelog.