Skip to content

Commit 318a1c9

Browse files
committed
📚 Version bump + new NEWS entry
* The version have been bumped to v0.3-4 and a new NEWS entry have been initialised - but it has not been rendered yet, later (TM). * Bug fix in template generation: The old setup was adding leading spaces to the generated file - this has been hot-fixed.
1 parent de1d1fe commit 318a1c9

File tree

3 files changed

+62
-29
lines changed

3 files changed

+62
-29
lines changed

.meta/CHANGELOG/src/v0.3-4.qmd

+32
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
---
2+
format:
3+
gfm:
4+
default-image-extension: ".png"
5+
always_allow_html: true
6+
execute:
7+
cache: true
8+
freeze: auto
9+
dir: .meta/CHANGELOG
10+
knitr:
11+
opts_chunk:
12+
collapse: true
13+
comment: "#>"
14+
dpi: 1280
15+
fig.height: 6
16+
out.width: 100%
17+
---
18+
```{r install_version (0.3-4)}
19+
#| echo: false
20+
#| include: false
21+
pak::pak(pkg = "serkor1/SLmetrics@v0.3-4", ask = FALSE)
22+
```
23+
24+
# :bookmark: Version 0.3-4
25+
26+
## :sparkles: Improvements
27+
28+
### :rocket: New features
29+
30+
## :bug: Bug-fixes
31+
32+
## :boom: Breaking changes

.meta/DEVTOOLS/changelog_template.sh

+29-28
Original file line numberDiff line numberDiff line change
@@ -48,38 +48,39 @@ function template() {
4848
local file=$1
4949
local version=$2
5050

51-
cat <<EOF > "${file}"
52-
---
53-
format:
54-
gfm:
55-
default-image-extension: ".png"
56-
always_allow_html: true
57-
execute:
58-
cache: true
59-
freeze: auto
60-
dir: .meta/CHANGELOG
61-
knitr:
62-
opts_chunk:
63-
collapse: true
64-
comment: "#>"
65-
dpi: 1280
66-
fig.height: 6
67-
out.width: 100%
68-
---
69-
\`\`\`{r install_version ($version)}
70-
#| echo: false
71-
#| include: false
72-
pak::pak(pkg = "serkor1/SLmetrics@v$version", ask = FALSE)
73-
\`\`\`
74-
# :bookmark: Version $version
51+
cat <<-EOF > "${file}"
52+
---
53+
format:
54+
gfm:
55+
default-image-extension: ".png"
56+
always_allow_html: true
57+
execute:
58+
cache: true
59+
freeze: auto
60+
dir: .meta/CHANGELOG
61+
knitr:
62+
opts_chunk:
63+
collapse: true
64+
comment: "#>"
65+
dpi: 1280
66+
fig.height: 6
67+
out.width: 100%
68+
---
69+
\`\`\`{r install_version ($version)}
70+
#| echo: false
71+
#| include: false
72+
pak::pak(pkg = "serkor1/SLmetrics@v$version", ask = FALSE)
73+
\`\`\`
7574
76-
## :sparkles: Improvements
75+
# :bookmark: Version $version
7776
78-
### :rocket: New features
77+
## :sparkles: Improvements
7978
80-
## :bug: Bug-fixes
79+
### :rocket: New features
8180
82-
## :boom: Breaking changes
81+
## :bug: Bug-fixes
82+
83+
## :boom: Breaking changes
8384
EOF
8485
}
8586

DESCRIPTION

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Package: SLmetrics
22
Title: Machine Learning Performance Evaluation on Steroids
3-
Version: 0.3-3
3+
Version: 0.3-4
44
Authors@R: c(
55
person(
66
given = "Serkan",

0 commit comments

Comments
 (0)