build(fix): add release scripts
Signed-off-by: Patrick Kollitsch <patrick@davids-neighbour.com>
This commit is contained in:
parent
e086aa9f8a
commit
a889122fbd
20
package.json
20
package.json
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"name": "@thenewdynamic/gohugo-theme-ananke",
|
"name": "@thenewdynamic/gohugo-theme-ananke",
|
||||||
"description": "Ananke: A theme for Hugo Sites",
|
"description": "Ananke: A theme for Hugo Sites",
|
||||||
"version": "2.7.0",
|
"version": "2.8.0",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"repository": "thenewdynamic/gohugo-theme-ananke",
|
"repository": "thenewdynamic/gohugo-theme-ananke",
|
||||||
"author": "Bud Parr (https://github.com/budparr)",
|
"author": "Bud Parr (https://github.com/budparr)",
|
||||||
|
@ -31,15 +31,27 @@
|
||||||
"hugo-module",
|
"hugo-module",
|
||||||
"gohugo-module"
|
"gohugo-module"
|
||||||
],
|
],
|
||||||
"devDependencies": {
|
"dependencies": {
|
||||||
"auto-changelog": "2.5.0",
|
|
||||||
"cssnano": "7.0.6",
|
"cssnano": "7.0.6",
|
||||||
"postcss": "8.4.47",
|
"postcss": "8.4.47",
|
||||||
"postcss-preset-env": "10.0.5",
|
"postcss-preset-env": "10.0.5",
|
||||||
"tachyons": "4.12.0"
|
"tachyons": "4.12.0"
|
||||||
},
|
},
|
||||||
|
"devDependencies": {
|
||||||
|
"@davidsneighbour/release-config": "2024.3.46",
|
||||||
|
"@davidsneighbour/tools": "2024.3.46"
|
||||||
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"deploy": " cd exampleSite; hugo;",
|
"deploy": " cd exampleSite; hugo;",
|
||||||
"version": "auto-changelog -p --template keepachangelog --commit-limit 0 && git add CHANGELOG.md"
|
"release": "wireit",
|
||||||
|
"release:pre": "wireit"
|
||||||
|
},
|
||||||
|
"wireit": {
|
||||||
|
"release": {
|
||||||
|
"command": "commit-and-tag-version --sign -a -t \"v\" --releaseCommitMessageFormat \"chore(release): v{{currentTag}}\" -- --no-verify"
|
||||||
|
},
|
||||||
|
"release:pre": {
|
||||||
|
"command": "commit-and-tag-version --sign -a -t \"v\" --releaseCommitMessageFormat \"chore(release): v{{currentTag}}\" -- --no-verify"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue