From 153ec47c7c9a2eea3979bddbcc4cb3690ea1fa5e Mon Sep 17 00:00:00 2001
From: Loi Chyan <loichyan@foxmail.com>
Date: Sat, 23 Nov 2024 21:08:14 +0800
Subject: [PATCH 1/3] chore(release): v0.4.2

---
 CHANGELOG.md | 5 ++++-
 Cargo.lock   | 2 +-
 Cargo.toml   | 2 +-
 3 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/CHANGELOG.md b/CHANGELOG.md
index 69255fe..b387683 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -32,6 +32,8 @@ are noticeable to end-users since the last release. For developers, this project
 
 ## [Unreleased]
 
+## [0.4.2] - 2024-11-23
+
 ### Added
 
 - Add a subcommand, `nerdfix completions <SHELL>`, to generate completions for your shell ([#30]).
@@ -228,7 +230,8 @@ UX breaking changes. Here are some guides for migrating from `v0.3`:
 
 🎉 Initial release. See [README](https://github.com/loichyan/nerdfix/blob/v0.1.0/README.md) for more details.
 
-[Unreleased]: https://github.com/loichyan/nerdfix/compare/v0.4.1..HEAD
+[Unreleased]: https://github.com/loichyan/nerdfix/compare/v0.4.2..HEAD
+[0.4.2]: https://github.com/loichyan/nerdfix/compare/v0.4.1..v0.4.2
 [0.4.1]: https://github.com/loichyan/nerdfix/compare/v0.4.0..v0.4.1
 [0.4.0]: https://github.com/loichyan/nerdfix/compare/v0.3.1..v0.4.0
 [0.3.1]: https://github.com/loichyan/nerdfix/compare/v0.3.0..v0.3.1
diff --git a/Cargo.lock b/Cargo.lock
index 90222f2..752ff7c 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -587,7 +587,7 @@ dependencies = [
 
 [[package]]
 name = "nerdfix"
-version = "0.4.1"
+version = "0.4.2"
 dependencies = [
  "assert_cmd",
  "bytesize",
diff --git a/Cargo.toml b/Cargo.toml
index 394c37a..9c62cc7 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -1,6 +1,6 @@
 [package]
 name = "nerdfix"
-version = "0.4.1"
+version = "0.4.2"
 authors = ["Loi Chyan <loichyan@foxmail.com>"]
 license = "MIT OR Apache-2.0"
 edition = "2021"

From c0b9229488b2b4f248c93ec006c3bf6ce8ee0ba1 Mon Sep 17 00:00:00 2001
From: Loi Chyan <loichyan@foxmail.com>
Date: Sat, 23 Nov 2024 21:10:25 +0800
Subject: [PATCH 2/3] ci: checkout before creating a release

---
 .github/workflows/cicd.yml | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/.github/workflows/cicd.yml b/.github/workflows/cicd.yml
index 3650896..7622181 100644
--- a/.github/workflows/cicd.yml
+++ b/.github/workflows/cicd.yml
@@ -184,6 +184,9 @@ jobs:
       contents: write # need to update release
     runs-on: ubuntu-latest
     steps:
+      - name: Setup | Checkout
+        uses: actions/checkout@v4
+
       - name: Setup | Configure
         id: configure
         run: echo tag="${GITHUB_HEAD_REF#release/}" >$GITHUB_OUTPUT

From 7581b53830c66f61b607ccac6dd102fc7f1bcccc Mon Sep 17 00:00:00 2001
From: Loi Chyan <loichyan@foxmail.com>
Date: Sat, 23 Nov 2024 21:19:29 +0800
Subject: [PATCH 3/3] docs: fix unknown PR link

---
 CHANGELOG.md | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/CHANGELOG.md b/CHANGELOG.md
index b387683..c3350d9 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -42,10 +42,11 @@ are noticeable to end-users since the last release. For developers, this project
 - Support checking dropped icons of Nerd Fonts v3.3.0 through the newly added `nerdfix --nf-version=3.3.0` option
   ([#33], thanks [@Finii] and [@hasecilu]).
 - Add two new options, `--codepoint` and `--name`, for `nerdfix search`, useful for querying icon infos from the
-  database non-interactively ([#??]).
+  database non-interactively ([#34]).
 
 [#30]: https://github.com/loichyan/nerdfix/pull/30
 [#33]: https://github.com/loichyan/nerdfix/pull/33
+[#34]: https://github.com/loichyan/nerdfix/pull/34
 [@Finii]: https://github.com/Finii
 [@hasecilu]: https://github.com/hasecilu