Skip to content

Commit

Permalink
kometa rebrand release
Browse files Browse the repository at this point in the history
  • Loading branch information
meisnate12 committed Apr 21, 2024
1 parent 7ad74aa commit 8ab7ee6
Show file tree
Hide file tree
Showing 5 changed files with 104 additions and 26 deletions.
50 changes: 50 additions & 0 deletions .github/workflows/copyright.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
name: Update-Copyright-Year

on:
schedule:
- cron: '0 3 1 1 *'
workflow_dispatch:

jobs:
Update-Copyright-Year:
runs-on: ubuntu-latest
steps:

- name: Get current year
id: date
run: echo "year=$(date +'%Y')" >> $GITHUB_OUTPUT

- name: Check Out Repo
uses: actions/checkout@v4

- name: Update Copyright
run: sed -i -E 's/(Copyright \(c\) ).+( meisnate12)/\1${{ steps.date.outputs.year }}\2/' LICENSE

- name: Check Diff
id: verify_diff
run: |
git diff --quiet . || echo "changed=true" >> $GITHUB_OUTPUT
- name: Commit & Push Changes
if: steps.verify_diff.outputs.changed == 'true'
run: |
git config --local user.email "action@github.com"
git config --local user.name "GitHub Action"
git add -A
git commit -m "Copyright updated to ${{ steps.date.outputs.year }}" -a
git push origin master
- name: Discord Failure Notification
uses: Kometa-Team/discord-notifications@master
if: failure()
with:
webhook_id: ${{ secrets.BUILD_WEBHOOK_ID }}
webhook_token: ${{ secrets.BUILD_WEBHOOK_TOKEN }}
message: <@&1079153184007790652>
title: "${{ secrets.REPO_NAME }}-Copyright: **Failure**"
color: 14879811
url: https://github.com/Kometa-Team/${{ secrets.REPO_NAME }}/actions/runs/${{ github.run_id }}
username: Kobota
avatar_url: https://raw.githubusercontent.com/Kometa-Team/Kometa/nightly/.github/logo.png
author: GitHub
author_icon_url: https://raw.githubusercontent.com/Kometa-Team/Kometa/nightly/.github/git.png
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
webhook_id: ${{ secrets.BUILD_WEBHOOK_ID }}
webhook_token: ${{ secrets.BUILD_WEBHOOK_TOKEN }}
title: "${{ secrets.REPO_NAME }}: **Success**"
url: https://github.com/Kometa-Team/Kometa/actions/runs/${{ github.run_id }}
url: https://github.com/Kometa-Team/${{ secrets.REPO_NAME }}/actions/runs/${{ github.run_id }}
username: Kobota
avatar_url: https://raw.githubusercontent.com/Kometa-Team/Kometa/develop/.github/logo.png
author: PyPI
Expand Down
38 changes: 26 additions & 12 deletions README.rst
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
ArrAPI
==========================================================

.. image:: https://img.shields.io/github/v/release/Kometa-Team/ArrAPI?style=plastic
:target: https://github.com/Kometa-Team/ArrAPI/releases
:alt: GitHub release (latest by date)

.. image:: https://img.shields.io/travis/com/Kometa-Team/ArrAPI?style=plastic
:target: https://app.travis-ci.com/Kometa-Team/ArrAPI
:alt: Build Testing

.. image:: https://img.shields.io/readthedocs/arrapi?style=plastic
:target: https://arrapi.kometa.wiki
:alt: Read the Docs

.. image:: https://img.shields.io/github/v/release/Kometa-Team/ArrAPI?style=plastic
:target: https://github.com/Kometa-Team/ArrAPI/releases
:alt: GitHub release (latest by date)
.. image:: https://img.shields.io/github/commits-since/Kometa-Team/ArrAPI/latest?style=plastic
:target: https://github.com/Kometa-Team/ArrAPI/commits/master
:alt: GitHub commits since latest release (by date) for a branch

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

.. image:: https://img.shields.io/github/commits-since/Kometa-Team/ArrAPI/latest?style=plastic
:target: https://github.com/Kometa-Team/ArrAPI/commits/master
:alt: GitHub commits since latest release (by date) for a branch
|
.. image:: https://img.shields.io/badge/-Sponsor_or_Donate-blueviolet?style=plastic
.. image:: https://img.shields.io/readthedocs/arrapi?style=plastic
:target: https://arrapi.kometa.wiki
:alt: Wiki

.. image:: https://img.shields.io/discord/822460010649878528?color=%2300bc8c&label=Discord&style=plastic
:target: https://kometa.wiki/en/latest/discord/
:alt: Discord

.. image:: https://img.shields.io/reddit/subreddit-subscribers/Kometa?color=%2300bc8c&label=r%2FKometa&style=plastic
:target: https://www.reddit.com/r/Kometa/
:alt: Reddit

.. image:: https://img.shields.io/github/sponsors/meisnate12?color=%238a2be2&style=plastic
:target: https://github.com/sponsors/meisnate12
:alt: GitHub Sponsor
:alt: GitHub Sponsors

.. image:: https://img.shields.io/badge/-Sponsor_or_Donate-blueviolet?style=plastic
:target: https://github.com/sponsors/Kometa-Team
:alt: Sponsor or Donate

Overview
----------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.4.7
1.4.8
38 changes: 26 additions & 12 deletions docs/intro.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,17 @@
Welcome to ArrAPI's documentation!
==========================================================

.. image:: https://img.shields.io/github/v/release/Kometa-Team/ArrAPI?style=plastic
:target: https://github.com/Kometa-Team/ArrAPI/releases
:alt: GitHub release (latest by date)

.. image:: https://img.shields.io/travis/com/Kometa-Team/ArrAPI?style=plastic
:target: https://app.travis-ci.com/Kometa-Team/ArrAPI
:alt: Build Testing

.. image:: https://img.shields.io/readthedocs/arrapi?style=plastic
:target: https://arrapi.kometa.wiki
:alt: Read the Docs

.. image:: https://img.shields.io/github/v/release/Kometa-Team/ArrAPI?style=plastic
:target: https://github.com/Kometa-Team/ArrAPI/releases
:alt: GitHub release (latest by date)
.. image:: https://img.shields.io/github/commits-since/Kometa-Team/ArrAPI/latest?style=plastic
:target: https://github.com/Kometa-Team/ArrAPI/commits/master
:alt: GitHub commits since latest release (by date) for a branch

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

.. image:: https://img.shields.io/github/commits-since/Kometa-Team/ArrAPI/latest?style=plastic
:target: https://github.com/Kometa-Team/ArrAPI/commits/master
:alt: GitHub commits since latest release (by date) for a branch
|
.. image:: https://img.shields.io/badge/-Sponsor_or_Donate-blueviolet?style=plastic
.. image:: https://img.shields.io/readthedocs/arrapi?style=plastic
:target: https://arrapi.kometa.wiki
:alt: Wiki

.. image:: https://img.shields.io/discord/822460010649878528?color=%2300bc8c&label=Discord&style=plastic
:target: https://kometa.wiki/en/latest/discord/
:alt: Discord

.. image:: https://img.shields.io/reddit/subreddit-subscribers/Kometa?color=%2300bc8c&label=r%2FKometa&style=plastic
:target: https://www.reddit.com/r/Kometa/
:alt: Reddit

.. image:: https://img.shields.io/github/sponsors/meisnate12?color=%238a2be2&style=plastic
:target: https://github.com/sponsors/meisnate12
:alt: GitHub Sponsor
:alt: GitHub Sponsors

.. image:: https://img.shields.io/badge/-Sponsor_or_Donate-blueviolet?style=plastic
:target: https://github.com/sponsors/Kometa-Team
:alt: Sponsor or Donate

Overview
----------------------------------------------------------
Expand Down

0 comments on commit 8ab7ee6

Please sign in to comment.