Skip to content

Commit

Permalink
Fix version outputted by --version; bump to 0.5.3
Browse files Browse the repository at this point in the history
  • Loading branch information
JordanMartinez committed Sep 18, 2023
1 parent dc97898 commit e1f385d
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 8 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@

Notable changes to this project are documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). This file is updated via [purs-changelog](https://github.com/JordanMartinez/purescript-up-changelog)

## 0.5.3

Internal:

* Fix version outputted by `--version`

## 0.5.2

Internal:
Expand Down
2 changes: 1 addition & 1 deletion RELEASE_GUIDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ git switch -c new-release

npm version minor # major, minor, patch, etc.
VERSION=$(jq '.version' package.json)
sed -E "s/version = \"[^\"]+\"/version = ${VERSION}/" bin/Main.purs
sed -i -E "s/version = \"[^\"]+\"/version = ${VERSION}/" bin/Main.purs
git add package.json bin/Main.purs
git commit -m "Update version"

Expand Down
2 changes: 1 addition & 1 deletion bin/Main.purs
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ main = do
launchAff_ $ runApp init { logger: mkLogger logType, cli: options }

version :: String
version = "0.5.0"
version = "0.5.3"

mkLogger :: LoggerType -> Logger Effect
mkLogger = case _ of
Expand Down
10 changes: 5 additions & 5 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "chnglg",
"version": "0.5.2",
"version": "0.5.3",
"description": "A maintainer and contributor-friendly tool for generating a human-readable CHANGELOG.md",
"bin": {
"chnglg": "bin/index.mjs"
Expand Down

0 comments on commit e1f385d

Please sign in to comment.