Skip to content

Commit 6b02895

Browse files
committed
v0.1.0
1 parent 5791f95 commit 6b02895

File tree

2 files changed

+22
-3
lines changed

2 files changed

+22
-3
lines changed

CHANGELOG.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,16 @@
11
# Changelog
22

3-
## Unreleased:
3+
## 0.1.0 (2022-12-11)
44

55
- Add command line interface
66
- Watch assets dir for changes in watch mode
77
- Added `refresh-templates` task to update to latest templates
88
- Social sharing (preview for Facebook, Twitter, LinkedIn, etc.)
99
- Move metadata to post files and improve caching
10-
- favicon support
10+
- Favicon support
1111

12-
## 0.0.1
12+
Thanks to Josh Glover ([@jmglov](https://github.com/jmglov)) for heavily contributing in this release!
13+
14+
## 0.0.1 (2022-07-17)
1315

1416
- Initial version

script/changelog.clj

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
#!/usr/bin/env bb
2+
3+
(ns changelog
4+
(:require [clojure.string :as str]))
5+
6+
(let [changelog (slurp "CHANGELOG.md")
7+
replaced (str/replace changelog
8+
#" #(\d+)"
9+
(fn [[_ issue after]]
10+
(format " [#%s](https://github.com/borkdude/quickblog/issues/%s)%s"
11+
issue issue (str after))))
12+
replaced (str/replace replaced
13+
#"@([a-zA-Z0-9-_]+)([, \.)])"
14+
(fn [[_ name after]]
15+
(format "[@%s](https://github.com/%s)%s"
16+
name name after)))]
17+
(spit "CHANGELOG.md" replaced))

0 commit comments

Comments
 (0)