mirror of https://github.com/FabricMC/yarn.git
Fix the update base script calling a non-existent contains function (#2499)
This commit is contained in:
parent
930449aca3
commit
affe4f3bda
|
@ -35,7 +35,7 @@ jobs:
|
|||
await github.pulls.updateBranch({ owner, repo, pull_number })
|
||||
|
||||
// Checks if the branch is a development version
|
||||
if (contains(base, '-') || contains(base, 'w')) {
|
||||
if (base.includes('-') || base.includes('w')) {
|
||||
await github.issues.addLabels({ owner, repo, issue_number, labels: ['snapshot'] });
|
||||
await github.issues.removeLabel({ owner, repo, issue_number, name: 'release' });
|
||||
// Otherwise it's a release
|
||||
|
|
Loading…
Reference in New Issue