Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add script that updates copyright year #7565

Merged
merged 4 commits into from
Feb 4, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -422,7 +422,7 @@ more about them in the [audits readme](./audits/README.md).

# License

Copyright (C) 2024 Mullvad VPN AB
Copyright (C) 2025 Mullvad VPN AB

This program is free software: you can redistribute it and/or modify it under the terms of the
GNU General Public License as published by the Free Software Foundation, either version 3 of
Expand Down
6 changes: 6 additions & 0 deletions desktop/scripts/prepare-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,11 @@ function check_changelog {
fi
}

function update_copyright_year {
$REPO_ROOT/scripts/update-copyright
print_and_run git commit -A -S -m "Update copyright year in project files and code"
}

function update_changelog {
sed -i -e "/^## \[Unreleased\]/a \\\n\\n## \[$PRODUCT_VERSION\] - $(date +%F)" $changelog_path

Expand Down Expand Up @@ -118,6 +123,7 @@ else
check_commit_signature
check_changelog
update_changelog
update_copyright_year
update_product_version

log_success "\n================================================="
Expand Down
2 changes: 1 addition & 1 deletion ios/MullvadLogging/CustomFormatLogHandler.swift
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// MullvadVPN
//
// Created by pronebird on 02/08/2020.
// Copyright © 2020 Mullvad VPN AB. All rights reserved.
// Copyright © 2025 Mullvad VPN AB. All rights reserved.
//

import Foundation
Expand Down
2 changes: 1 addition & 1 deletion ios/MullvadLogging/Date+LogFormat.swift
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// LogFormatting
//
// Created by pronebird on 09/09/2021.
// Copyright © 2021 Mullvad VPN AB. All rights reserved.
// Copyright © 2025 Mullvad VPN AB. All rights reserved.
//

import Foundation
Expand Down
2 changes: 1 addition & 1 deletion ios/MullvadLogging/Error+LogFormat.swift
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// MullvadLogging
//
// Created by pronebird on 26/09/2022.
// Copyright © 2022 Mullvad VPN AB. All rights reserved.
// Copyright © 2025 Mullvad VPN AB. All rights reserved.
//

import Foundation
Expand Down
2 changes: 1 addition & 1 deletion ios/MullvadLogging/LogFileOutputStream.swift
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// MullvadVPN
//
// Created by pronebird on 02/08/2020.
// Copyright © 2020 Mullvad VPN AB. All rights reserved.
// Copyright © 2025 Mullvad VPN AB. All rights reserved.
//

import Foundation
Expand Down
2 changes: 1 addition & 1 deletion ios/MullvadLogging/LogRotation.swift
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// MullvadVPN
//
// Created by pronebird on 02/08/2020.
// Copyright © 2020 Mullvad VPN AB. All rights reserved.
// Copyright © 2025 Mullvad VPN AB. All rights reserved.
//

import Foundation
Expand Down
2 changes: 1 addition & 1 deletion ios/MullvadLogging/Logger+Errors.swift
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// MullvadVPN
//
// Created by pronebird on 02/08/2020.
// Copyright © 2020 Mullvad VPN AB. All rights reserved.
// Copyright © 2025 Mullvad VPN AB. All rights reserved.
//

import Foundation
Expand Down
2 changes: 1 addition & 1 deletion ios/MullvadLogging/Logging.swift
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// MullvadVPN
//
// Created by pronebird on 02/08/2020.
// Copyright © 2020 Mullvad VPN AB. All rights reserved.
// Copyright © 2025 Mullvad VPN AB. All rights reserved.
//

import Foundation
Expand Down
2 changes: 1 addition & 1 deletion ios/MullvadLogging/MullvadLogging.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// MullvadLogging
//
// Created by pronebird on 16/12/2022.
// Copyright © 2022 Mullvad VPN AB. All rights reserved.
// Copyright © 2025 Mullvad VPN AB. All rights reserved.
//

#import <Foundation/Foundation.h>
Expand Down
2 changes: 1 addition & 1 deletion ios/MullvadLogging/OSLogHandler.swift
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// OSLogHandler
//
// Created by pronebird on 16/08/2021.
// Copyright © 2021 Mullvad VPN AB. All rights reserved.
// Copyright © 2025 Mullvad VPN AB. All rights reserved.
//

import Foundation
Expand Down
2 changes: 1 addition & 1 deletion ios/MullvadMockData/Extensions/TimeInterval+Timeout.swift
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// MullvadMockData
//
// Created by Jon Petersson on 2024-06-19.
// Copyright © 2024 Mullvad VPN AB. All rights reserved.
// Copyright © 2025 Mullvad VPN AB. All rights reserved.
//

extension TimeInterval {
Expand Down
2 changes: 1 addition & 1 deletion ios/MullvadMockData/MullvadMockData.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// MullvadMockData
//
// Created by Mojgan on 2024-05-03.
// Copyright © 2024 Mullvad VPN AB. All rights reserved.
// Copyright © 2025 Mullvad VPN AB. All rights reserved.
//

#import <Foundation/Foundation.h>
Expand Down
2 changes: 1 addition & 1 deletion ios/MullvadMockData/MullvadREST/APIProxy+Stubs.swift
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// MullvadVPNTests
//
// Created by Marco Nikic on 2023-10-03.
// Copyright © 2023 Mullvad VPN AB. All rights reserved.
// Copyright © 2025 Mullvad VPN AB. All rights reserved.
//

import Foundation
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// MullvadRESTTests
//
// Created by Mojgan on 2024-01-02.
// Copyright © 2024 Mullvad VPN AB. All rights reserved.
// Copyright © 2025 Mullvad VPN AB. All rights reserved.
//

import Combine
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// MullvadVPNTests
//
// Created by Marco Nikic on 2023-10-03.
// Copyright © 2023 Mullvad VPN AB. All rights reserved.
// Copyright © 2025 Mullvad VPN AB. All rights reserved.
//

import Foundation
Expand Down
2 changes: 1 addition & 1 deletion ios/MullvadMockData/MullvadREST/AccountsProxy+Stubs.swift
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// MullvadVPNTests
//
// Created by Marco Nikic on 2023-10-03.
// Copyright © 2023 Mullvad VPN AB. All rights reserved.
// Copyright © 2025 Mullvad VPN AB. All rights reserved.
//

import Foundation
Expand Down
2 changes: 1 addition & 1 deletion ios/MullvadMockData/MullvadREST/DevicesProxy+Stubs.swift
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// MullvadVPNTests
//
// Created by Marco Nikic on 2023-10-03.
// Copyright © 2023 Mullvad VPN AB. All rights reserved.
// Copyright © 2025 Mullvad VPN AB. All rights reserved.
//

import Foundation
Expand Down
2 changes: 1 addition & 1 deletion ios/MullvadMockData/MullvadREST/MockProxyFactory.swift
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// MullvadMockData
//
// Created by Mojgan on 2024-05-03.
// Copyright © 2024 Mullvad VPN AB. All rights reserved.
// Copyright © 2025 Mullvad VPN AB. All rights reserved.
//

import Foundation
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// MullvadVPNTests
//
// Created by Marco Nikic on 2023-10-03.
// Copyright © 2023 Mullvad VPN AB. All rights reserved.
// Copyright © 2025 Mullvad VPN AB. All rights reserved.
//

import Foundation
Expand Down
2 changes: 1 addition & 1 deletion ios/MullvadMockData/MullvadREST/RelaySelectorStub.swift
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// PacketTunnelCoreTests
//
// Created by pronebird on 05/09/2023.
// Copyright © 2023 Mullvad VPN AB. All rights reserved.
// Copyright © 2025 Mullvad VPN AB. All rights reserved.
//

import MullvadREST
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// MullvadVPN
//
// Created by Jon Petersson on 2024-12-18.
// Copyright © 2024 Mullvad VPN AB. All rights reserved.
// Copyright © 2025 Mullvad VPN AB. All rights reserved.
//

import MullvadREST
Expand Down
2 changes: 1 addition & 1 deletion ios/MullvadMockData/MullvadTypes/AccountMock.swift
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// MullvadVPNTests
//
// Created by Andrew Bulhak on 2024-03-04.
// Copyright © 2024 Mullvad VPN AB. All rights reserved.
// Copyright © 2025 Mullvad VPN AB. All rights reserved.
//

import MullvadTypes
Expand Down
2 changes: 1 addition & 1 deletion ios/MullvadMockData/MullvadTypes/DeviceMock.swift
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// MullvadVPNTests
//
// Created by Andrew Bulhak on 2024-03-04.
// Copyright © 2024 Mullvad VPN AB. All rights reserved.
// Copyright © 2025 Mullvad VPN AB. All rights reserved.
//

import Foundation
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// MullvadREST
//
// Created by Marco Nikic on 2024-01-08.
// Copyright © 2024 Mullvad VPN AB. All rights reserved.
// Copyright © 2025 Mullvad VPN AB. All rights reserved.
//

import Foundation
Expand Down
2 changes: 1 addition & 1 deletion ios/MullvadREST/ApiHandlers/AddressCache.swift
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// MullvadREST
//
// Created by pronebird on 08/12/2021.
// Copyright © 2021 Mullvad VPN AB. All rights reserved.
// Copyright © 2025 Mullvad VPN AB. All rights reserved.
//

import Foundation
Expand Down
2 changes: 1 addition & 1 deletion ios/MullvadREST/ApiHandlers/HTTP.swift
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// HTTP
//
// Created by pronebird on 06/09/2021.
// Copyright © 2021 Mullvad VPN AB. All rights reserved.
// Copyright © 2025 Mullvad VPN AB. All rights reserved.
//

import Foundation
Expand Down
2 changes: 1 addition & 1 deletion ios/MullvadREST/ApiHandlers/RESTAPIProxy.swift
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// MullvadREST
//
// Created by pronebird on 10/07/2020.
// Copyright © 2020 Mullvad VPN AB. All rights reserved.
// Copyright © 2025 Mullvad VPN AB. All rights reserved.
//

import Foundation
Expand Down
2 changes: 1 addition & 1 deletion ios/MullvadREST/ApiHandlers/RESTAccessTokenManager.swift
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// MullvadREST
//
// Created by pronebird on 16/04/2022.
// Copyright © 2022 Mullvad VPN AB. All rights reserved.
// Copyright © 2025 Mullvad VPN AB. All rights reserved.
//

import Foundation
Expand Down
2 changes: 1 addition & 1 deletion ios/MullvadREST/ApiHandlers/RESTAccountsProxy.swift
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// MullvadREST
//
// Created by pronebird on 16/04/2022.
// Copyright © 2022 Mullvad VPN AB. All rights reserved.
// Copyright © 2025 Mullvad VPN AB. All rights reserved.
//

import Foundation
Expand Down
2 changes: 1 addition & 1 deletion ios/MullvadREST/ApiHandlers/RESTAuthenticationProxy.swift
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// MullvadREST
//
// Created by pronebird on 16/04/2022.
// Copyright © 2022 Mullvad VPN AB. All rights reserved.
// Copyright © 2025 Mullvad VPN AB. All rights reserved.
//

import Foundation
Expand Down
2 changes: 1 addition & 1 deletion ios/MullvadREST/ApiHandlers/RESTAuthorization.swift
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// MullvadREST
//
// Created by pronebird on 16/04/2022.
// Copyright © 2022 Mullvad VPN AB. All rights reserved.
// Copyright © 2025 Mullvad VPN AB. All rights reserved.
//

import Foundation
Expand Down
2 changes: 1 addition & 1 deletion ios/MullvadREST/ApiHandlers/RESTCoding.swift
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// RESTCoding
//
// Created by pronebird on 27/07/2021.
// Copyright © 2021 Mullvad VPN AB. All rights reserved.
// Copyright © 2025 Mullvad VPN AB. All rights reserved.
//

import Foundation
Expand Down
2 changes: 1 addition & 1 deletion ios/MullvadREST/ApiHandlers/RESTDefaults.swift
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// MullvadREST
//
// Created by Sajad Vishkai on 2022-10-17.
// Copyright © 2022 Mullvad VPN AB. All rights reserved.
// Copyright © 2025 Mullvad VPN AB. All rights reserved.
//

import Foundation
Expand Down
2 changes: 1 addition & 1 deletion ios/MullvadREST/ApiHandlers/RESTDevicesProxy.swift
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// MullvadREST
//
// Created by pronebird on 20/04/2022.
// Copyright © 2022 Mullvad VPN AB. All rights reserved.
// Copyright © 2025 Mullvad VPN AB. All rights reserved.
//

import Foundation
Expand Down
2 changes: 1 addition & 1 deletion ios/MullvadREST/ApiHandlers/RESTError.swift
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// RESTError
//
// Created by pronebird on 27/07/2021.
// Copyright © 2021 Mullvad VPN AB. All rights reserved.
// Copyright © 2025 Mullvad VPN AB. All rights reserved.
//

import Foundation
Expand Down
2 changes: 1 addition & 1 deletion ios/MullvadREST/ApiHandlers/RESTNetworkOperation.swift
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// MullvadREST
//
// Created by pronebird on 08/12/2021.
// Copyright © 2021 Mullvad VPN AB. All rights reserved.
// Copyright © 2025 Mullvad VPN AB. All rights reserved.
//

import Foundation
Expand Down
2 changes: 1 addition & 1 deletion ios/MullvadREST/ApiHandlers/RESTProxy.swift
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// MullvadREST
//
// Created by pronebird on 20/04/2022.
// Copyright © 2022 Mullvad VPN AB. All rights reserved.
// Copyright © 2025 Mullvad VPN AB. All rights reserved.
//

import Foundation
Expand Down
2 changes: 1 addition & 1 deletion ios/MullvadREST/ApiHandlers/RESTProxyFactory.swift
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// MullvadREST
//
// Created by pronebird on 19/04/2022.
// Copyright © 2022 Mullvad VPN AB. All rights reserved.
// Copyright © 2025 Mullvad VPN AB. All rights reserved.
//

import Foundation
Expand Down
2 changes: 1 addition & 1 deletion ios/MullvadREST/ApiHandlers/RESTRequestExecutor.swift
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// MullvadREST
//
// Created by pronebird on 21/08/2023.
// Copyright © 2023 Mullvad VPN AB. All rights reserved.
// Copyright © 2025 Mullvad VPN AB. All rights reserved.
//

import Foundation
Expand Down
2 changes: 1 addition & 1 deletion ios/MullvadREST/ApiHandlers/RESTRequestFactory.swift
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// MullvadREST
//
// Created by pronebird on 16/04/2022.
// Copyright © 2022 Mullvad VPN AB. All rights reserved.
// Copyright © 2025 Mullvad VPN AB. All rights reserved.
//

import Foundation
Expand Down
2 changes: 1 addition & 1 deletion ios/MullvadREST/ApiHandlers/RESTRequestHandler.swift
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// MullvadREST
//
// Created by pronebird on 20/04/2022.
// Copyright © 2022 Mullvad VPN AB. All rights reserved.
// Copyright © 2025 Mullvad VPN AB. All rights reserved.
//

import Foundation
Expand Down
2 changes: 1 addition & 1 deletion ios/MullvadREST/ApiHandlers/RESTResponseHandler.swift
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// MullvadREST
//
// Created by pronebird on 25/04/2022.
// Copyright © 2022 Mullvad VPN AB. All rights reserved.
// Copyright © 2025 Mullvad VPN AB. All rights reserved.
//

import Foundation
Expand Down
Loading
Loading