Skip to content

Commit 8ab7ee6

Browse files
committed
kometa rebrand release
1 parent 7ad74aa commit 8ab7ee6

File tree

5 files changed

+104
-26
lines changed

5 files changed

+104
-26
lines changed

.github/workflows/copyright.yml

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
name: Update-Copyright-Year
2+
3+
on:
4+
schedule:
5+
- cron: '0 3 1 1 *'
6+
workflow_dispatch:
7+
8+
jobs:
9+
Update-Copyright-Year:
10+
runs-on: ubuntu-latest
11+
steps:
12+
13+
- name: Get current year
14+
id: date
15+
run: echo "year=$(date +'%Y')" >> $GITHUB_OUTPUT
16+
17+
- name: Check Out Repo
18+
uses: actions/checkout@v4
19+
20+
- name: Update Copyright
21+
run: sed -i -E 's/(Copyright \(c\) ).+( meisnate12)/\1${{ steps.date.outputs.year }}\2/' LICENSE
22+
23+
- name: Check Diff
24+
id: verify_diff
25+
run: |
26+
git diff --quiet . || echo "changed=true" >> $GITHUB_OUTPUT
27+
28+
- name: Commit & Push Changes
29+
if: steps.verify_diff.outputs.changed == 'true'
30+
run: |
31+
git config --local user.email "[email protected]"
32+
git config --local user.name "GitHub Action"
33+
git add -A
34+
git commit -m "Copyright updated to ${{ steps.date.outputs.year }}" -a
35+
git push origin master
36+
37+
- name: Discord Failure Notification
38+
uses: Kometa-Team/discord-notifications@master
39+
if: failure()
40+
with:
41+
webhook_id: ${{ secrets.BUILD_WEBHOOK_ID }}
42+
webhook_token: ${{ secrets.BUILD_WEBHOOK_TOKEN }}
43+
message: <@&1079153184007790652>
44+
title: "${{ secrets.REPO_NAME }}-Copyright: **Failure**"
45+
color: 14879811
46+
url: https://github.com/Kometa-Team/${{ secrets.REPO_NAME }}/actions/runs/${{ github.run_id }}
47+
username: Kobota
48+
avatar_url: https://raw.githubusercontent.com/Kometa-Team/Kometa/nightly/.github/logo.png
49+
author: GitHub
50+
author_icon_url: https://raw.githubusercontent.com/Kometa-Team/Kometa/nightly/.github/git.png

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ jobs:
4747
webhook_id: ${{ secrets.BUILD_WEBHOOK_ID }}
4848
webhook_token: ${{ secrets.BUILD_WEBHOOK_TOKEN }}
4949
title: "${{ secrets.REPO_NAME }}: **Success**"
50-
url: https://github.com/Kometa-Team/Kometa/actions/runs/${{ github.run_id }}
50+
url: https://github.com/Kometa-Team/${{ secrets.REPO_NAME }}/actions/runs/${{ github.run_id }}
5151
username: Kobota
5252
avatar_url: https://raw.githubusercontent.com/Kometa-Team/Kometa/develop/.github/logo.png
5353
author: PyPI

README.rst

Lines changed: 26 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
ArrAPI
22
==========================================================
33

4+
.. image:: https://img.shields.io/github/v/release/Kometa-Team/ArrAPI?style=plastic
5+
:target: https://github.com/Kometa-Team/ArrAPI/releases
6+
:alt: GitHub release (latest by date)
7+
48
.. image:: https://img.shields.io/travis/com/Kometa-Team/ArrAPI?style=plastic
59
:target: https://app.travis-ci.com/Kometa-Team/ArrAPI
610
:alt: Build Testing
711

8-
.. image:: https://img.shields.io/readthedocs/arrapi?style=plastic
9-
:target: https://arrapi.kometa.wiki
10-
:alt: Read the Docs
11-
12-
.. image:: https://img.shields.io/github/v/release/Kometa-Team/ArrAPI?style=plastic
13-
:target: https://github.com/Kometa-Team/ArrAPI/releases
14-
:alt: GitHub release (latest by date)
12+
.. image:: https://img.shields.io/github/commits-since/Kometa-Team/ArrAPI/latest?style=plastic
13+
:target: https://github.com/Kometa-Team/ArrAPI/commits/master
14+
:alt: GitHub commits since latest release (by date) for a branch
1515

1616
.. image:: https://img.shields.io/pypi/v/ArrAPI?style=plastic
1717
:target: https://pypi.org/project/arrapi/
@@ -21,13 +21,27 @@ ArrAPI
2121
:target: https://pypi.org/project/arrapi/
2222
:alt: Downloads
2323

24-
.. image:: https://img.shields.io/github/commits-since/Kometa-Team/ArrAPI/latest?style=plastic
25-
:target: https://github.com/Kometa-Team/ArrAPI/commits/master
26-
:alt: GitHub commits since latest release (by date) for a branch
24+
|
2725
28-
.. image:: https://img.shields.io/badge/-Sponsor_or_Donate-blueviolet?style=plastic
26+
.. image:: https://img.shields.io/readthedocs/arrapi?style=plastic
27+
:target: https://arrapi.kometa.wiki
28+
:alt: Wiki
29+
30+
.. image:: https://img.shields.io/discord/822460010649878528?color=%2300bc8c&label=Discord&style=plastic
31+
:target: https://kometa.wiki/en/latest/discord/
32+
:alt: Discord
33+
34+
.. image:: https://img.shields.io/reddit/subreddit-subscribers/Kometa?color=%2300bc8c&label=r%2FKometa&style=plastic
35+
:target: https://www.reddit.com/r/Kometa/
36+
:alt: Reddit
37+
38+
.. image:: https://img.shields.io/github/sponsors/meisnate12?color=%238a2be2&style=plastic
2939
:target: https://github.com/sponsors/meisnate12
30-
:alt: GitHub Sponsor
40+
:alt: GitHub Sponsors
41+
42+
.. image:: https://img.shields.io/badge/-Sponsor_or_Donate-blueviolet?style=plastic
43+
:target: https://github.com/sponsors/Kometa-Team
44+
:alt: Sponsor or Donate
3145

3246
Overview
3347
----------------------------------------------------------

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.4.7
1+
1.4.8

docs/intro.rst

Lines changed: 26 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,17 @@
22
Welcome to ArrAPI's documentation!
33
==========================================================
44

5+
.. image:: https://img.shields.io/github/v/release/Kometa-Team/ArrAPI?style=plastic
6+
:target: https://github.com/Kometa-Team/ArrAPI/releases
7+
:alt: GitHub release (latest by date)
8+
59
.. image:: https://img.shields.io/travis/com/Kometa-Team/ArrAPI?style=plastic
610
:target: https://app.travis-ci.com/Kometa-Team/ArrAPI
711
:alt: Build Testing
812

9-
.. image:: https://img.shields.io/readthedocs/arrapi?style=plastic
10-
:target: https://arrapi.kometa.wiki
11-
:alt: Read the Docs
12-
13-
.. image:: https://img.shields.io/github/v/release/Kometa-Team/ArrAPI?style=plastic
14-
:target: https://github.com/Kometa-Team/ArrAPI/releases
15-
:alt: GitHub release (latest by date)
13+
.. image:: https://img.shields.io/github/commits-since/Kometa-Team/ArrAPI/latest?style=plastic
14+
:target: https://github.com/Kometa-Team/ArrAPI/commits/master
15+
:alt: GitHub commits since latest release (by date) for a branch
1616

1717
.. image:: https://img.shields.io/pypi/v/ArrAPI?style=plastic
1818
:target: https://pypi.org/project/arrapi/
@@ -22,13 +22,27 @@ Welcome to ArrAPI's documentation!
2222
:target: https://pypi.org/project/arrapi/
2323
:alt: Downloads
2424

25-
.. image:: https://img.shields.io/github/commits-since/Kometa-Team/ArrAPI/latest?style=plastic
26-
:target: https://github.com/Kometa-Team/ArrAPI/commits/master
27-
:alt: GitHub commits since latest release (by date) for a branch
25+
|
2826
29-
.. image:: https://img.shields.io/badge/-Sponsor_or_Donate-blueviolet?style=plastic
27+
.. image:: https://img.shields.io/readthedocs/arrapi?style=plastic
28+
:target: https://arrapi.kometa.wiki
29+
:alt: Wiki
30+
31+
.. image:: https://img.shields.io/discord/822460010649878528?color=%2300bc8c&label=Discord&style=plastic
32+
:target: https://kometa.wiki/en/latest/discord/
33+
:alt: Discord
34+
35+
.. image:: https://img.shields.io/reddit/subreddit-subscribers/Kometa?color=%2300bc8c&label=r%2FKometa&style=plastic
36+
:target: https://www.reddit.com/r/Kometa/
37+
:alt: Reddit
38+
39+
.. image:: https://img.shields.io/github/sponsors/meisnate12?color=%238a2be2&style=plastic
3040
:target: https://github.com/sponsors/meisnate12
31-
:alt: GitHub Sponsor
41+
:alt: GitHub Sponsors
42+
43+
.. image:: https://img.shields.io/badge/-Sponsor_or_Donate-blueviolet?style=plastic
44+
:target: https://github.com/sponsors/Kometa-Team
45+
:alt: Sponsor or Donate
3246

3347
Overview
3448
----------------------------------------------------------

0 commit comments

Comments
 (0)