Skip to content

Commit

Permalink
将普通贡献者的star数奖励从5增加到10
Browse files Browse the repository at this point in the history
  • Loading branch information
Sm1les authored Nov 16, 2024
1 parent 7c44d92 commit 583b5a4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions whale-coin.py
Original file line number Diff line number Diff line change
Expand Up @@ -169,9 +169,9 @@ def compute_owner_coins(cmts, stars):
for stage in stages:
if star_num >= stage:
if style == 'contributor':
stars_coins += 5
details = '{}的Star数超过{},作为贡献者奖励5鲸币'.format(repo, stage)
print('\t'.join([datetime.datetime.today().strftime('%Y-%m-%d'), details, '5']))
stars_coins += 10
details = '{}的Star数超过{},作为贡献者奖励10鲸币'.format(repo, stage)
print('\t'.join([datetime.datetime.today().strftime('%Y-%m-%d'), details, '10']))

if style == 'owner':
stars_coins += 100
Expand Down

0 comments on commit 583b5a4

Please sign in to comment.