mirror of
https://github.com/gohugoio/hugoDocs.git
synced 2025-09-08 17:04:38 -04:00
Add hugoreleaser config
To do a release: ```bash GITHUB_TOKEN=xxx hugoreleaser release -tag v0.102.0 -commitish master ```
This commit is contained in:
parent
5a1f2d0dd0
commit
3427c7436d
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,6 +1,7 @@
|
||||
/.idea
|
||||
/.vscode
|
||||
/public
|
||||
/dist
|
||||
node_modules
|
||||
nohup.out
|
||||
.DS_Store
|
||||
|
29
hugoreleaser.toml
Normal file
29
hugoreleaser.toml
Normal file
@ -0,0 +1,29 @@
|
||||
project = "hugoDocs"
|
||||
|
||||
[release_settings]
|
||||
name = "${HUGORELEASER_TAG}"
|
||||
type = "github"
|
||||
repository = "hugoDocs"
|
||||
repository_owner = "gohugoio"
|
||||
|
||||
draft = true
|
||||
prerelease = false
|
||||
|
||||
[release_settings.release_notes_settings]
|
||||
generate = true
|
||||
generate_on_host = false
|
||||
short_threshold = 10
|
||||
short_title = "What's Changed"
|
||||
|
||||
groups = [
|
||||
{ regexp = "snapcraft:|Merge commit|Squashed", ignore = true },
|
||||
{ title = "Typo fixes", regexp = "typoe", ordinal = 20 },
|
||||
{ title = "Dependency Updates", regexp = "deps", ordinal = 30 },
|
||||
{ title = "Improvements", regexp = ".*", ordinal = 10 },
|
||||
]
|
||||
|
||||
[[releases]]
|
||||
paths = ["archives/**"]
|
||||
# In this file we have only one release, but path can be used to partition the release step, e.g.:
|
||||
# hugoreleaser release -paths "releases/myrelease"
|
||||
path = "myrelease"
|
Loading…
x
Reference in New Issue
Block a user