chore: year bump

This commit is contained in:
Jakub Cuth
2025-01-02 14:03:49 +01:00
parent 6878b3b5e0
commit 082849dc6c
617 changed files with 622 additions and 622 deletions

View File

@ -1,6 +1,6 @@
##!/bin/bash
# Copyright (c) 2024 Proton AG
# Copyright (c) 2025 Proton AG
#
# This file is part of Proton Mail Bridge.
#
@ -24,7 +24,7 @@ REPLACE_FILES=$(find . -not -path "./vendor/*" \
-not -name "*mock*.go" \
-regextype posix-egrep \
-regex ".*\.go|.*\.qml|qmldir|.*\.qmlproject|.*\.txt|.*\.md|.*\.h|.*\.cpp|.*\.m|.*\.sh|.*\.py" \
-exec grep -L "Copyright (c) 2024 Proton AG" {} \;)
-exec grep -L "Copyright (c) 2025 Proton AG" {} \;)
for f in ${REPLACE_FILES}
do
@ -35,16 +35,16 @@ do
# Proton Mail Bridge is free software: you can redistribute it and/or modify
# Proton Mail Bridge is distributed in the hope that it will be useful,
# along with Proton Mail Bridge. If not, see <https://www.gnu.org/licenses/>.
# Copyright (c) 2024 Proton AG
# Copyright (c) 2025 Proton AG
for repl in \
"s/This file is part of ProtonMail Bridge./This file is part of Proton Mail Bridge./" \
"s/ProtonMail Bridge is free software:/Proton Mail Bridge is free software:/" \
"s/ProtonMail Bridge is distributed in the hope that it will be useful/Proton Mail Bridge is distributed in the hope that it will be useful/" \
"s/along with ProtonMail Bridge. If not, see/along with Proton Mail Bridge. If not, see/" \
"s/along with ProtonMail Bridge. If not, see/along with Proton Mail Bridge. If not, see/" \
"s/Copyright (c) 2022 Proton Technologies AG/Copyright (c) 2024 Proton AG/" \
"s/Copyright (c) 2021 Proton Technologies AG/Copyright (c) 2024 Proton AG/" \
"s/Copyright (c) 2020 Proton Technologies AG/Copyright (c) 2024 Proton AG/"
"s/Copyright (c) 2022 Proton Technologies AG/Copyright (c) 2025 Proton AG/" \
"s/Copyright (c) 2021 Proton Technologies AG/Copyright (c) 2025 Proton AG/" \
"s/Copyright (c) 2020 Proton Technologies AG/Copyright (c) 2025 Proton AG/"
do
sed -i "$repl" "$f" || exit 3
done