File tree Expand file tree Collapse file tree 2 files changed +25
-0
lines changed
Expand file tree Collapse file tree 2 files changed +25
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Create release from new tag
2+
3+ # this flow will be run only when new tags are pushed that match our pattern
4+ on :
5+ push :
6+ tags :
7+ - " v[0-9]+.[0-9]+.[0-9]+"
8+
9+ jobs :
10+ build :
11+ runs-on : ubuntu-latest
12+ permissions :
13+ contents : write
14+ steps :
15+ - name : Checkout
16+ uses : actions/checkout@v4
17+
18+ - name : Create GitHub release from tag
19+ uses : softprops/action-gh-release@v2
20+ with :
21+ generate_release_notes : true
Original file line number Diff line number Diff line change @@ -260,6 +260,10 @@ func (l *League) ResetPlayers() {
260260 }
261261}
262262
263+ func (l * League ) ResetMatches () {
264+ l .Matches = []Match {}
265+ }
266+
263267func (l * League ) GetPlayers () []* Player {
264268 return l .Players
265269}
You can’t perform that action at this time.
0 commit comments