Skip to content

Commit

Permalink
Add hugoreleaser config
Browse files Browse the repository at this point in the history
To do a release:

```bash
GITHUB_TOKEN=xxx  hugoreleaser release -tag v0.102.0 -commitish master
```
  • Loading branch information
bep committed Sep 10, 2022
1 parent 5a1f2d0 commit 3427c74
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
/.idea
/.vscode
/public
/dist
node_modules
nohup.out
.DS_Store
Expand Down
29 changes: 29 additions & 0 deletions hugoreleaser.toml
Original file line number Diff line number Diff line change
@@ -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"

0 comments on commit 3427c74

Please sign in to comment.