mirror of
https://github.com/Luzifer/twitch-bot.git
synced 2024-12-20 11:51:17 +00:00
Compare commits
3 commits
0d76c58ede
...
9cac1686b8
Author | SHA1 | Date | |
---|---|---|---|
9cac1686b8 | |||
f26ce9b0da | |||
dd80433cb0 |
3 changed files with 28 additions and 1 deletions
19
.git_changerelease.yaml
Normal file
19
.git_changerelease.yaml
Normal 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: []
|
||||
|
||||
...
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue