Compare commits

...

3 commits

Author SHA1 Message Date
9cac1686b8
CI: Configure git-changerelease
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2024-12-02 13:25:25 +01:00
f26ce9b0da
prepare release v3.35.0 2024-12-02 13:24:22 +01:00
dd80433cb0
[raffle] Fix: Raffle channel did not allow underscore in channel name
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2024-12-02 13:08:18 +01:00
3 changed files with 28 additions and 1 deletions

19
.git_changerelease.yaml Normal file
View file

@ -0,0 +1,19 @@
---
# Template to format the commit message containing the changelog change
# which will be used to add the tag to.
release_commit_message: "Release: Twitch-Bot {{.Version}}"
# Commands to run before committing the changelog and adding the tag.
# Therefore these can add content to be included into the release-
# commit. These commands have access to the `TAG_VERSION` variable
# which contains the tag to be applied after the commit. If the
# command specified here is prefixed with a `-` sign, the exit status
# will not fail the release process. If it is not prefixed with a `-`
# a non-zero exit status will terminate the release process. The
# commands will be run from the repostory root, so sub-dirs MUST be
# specified. All commands are run as `bash -ec "..."` so you can use
# bash inside the commands.
pre_commit_commands: []
...

View file

@ -1,3 +1,11 @@
# 3.35.0 / 2024-12-02
* New Features
* [template] Add functions `parseDuration`, `parseDurationToSeconds`
* Bugfixes
* [raffle] Fix: Raffle channel did not allow underscore in channel name
# 3.34.0 / 2024-09-16
* New Features

View file

@ -1127,7 +1127,7 @@ export default {
},
validateRaffleChannel() {
if (!/^[a-zA-Z0-9]{4,25}$/.test(this.models.raffle.channel)) {
if (!constants.REGEXP_USER.test(this.models.raffle.channel)) {
return false
}
return null