mirror of https://github.com/mpv-player/mpv
version.py/version.sh: bump copyright year
This commit is contained in:
parent
95257eaa88
commit
93d77b781d
|
@ -33,7 +33,7 @@ date_str = date.strftime("%a %b %d %I:%M:%S %Y")
|
|||
NEW_REVISION = "#define VERSION \"" + version + "\"\n"
|
||||
OLD_REVISION = ""
|
||||
BUILDDATE = "#define BUILDDATE \"" + date_str + "\"\n"
|
||||
MPVCOPYRIGHT = "#define MPVCOPYRIGHT \"Copyright \u00A9 2000-2021 mpv/MPlayer/mplayer2 projects\"" + "\n"
|
||||
MPVCOPYRIGHT = "#define MPVCOPYRIGHT \"Copyright \u00A9 2000-2022 mpv/MPlayer/mplayer2 projects\"" + "\n"
|
||||
|
||||
if os.path.isfile(sys.argv[1]):
|
||||
with open(sys.argv[1], "r") as f:
|
||||
|
|
|
@ -54,7 +54,7 @@ fi
|
|||
NEW_REVISION="#define VERSION \"${VERSION}\""
|
||||
OLD_REVISION=$(head -n 1 "$version_h" 2> /dev/null)
|
||||
BUILDDATE="#define BUILDDATE \"$(date)\""
|
||||
MPVCOPYRIGHT="#define MPVCOPYRIGHT \"Copyright © 2000-2021 mpv/MPlayer/mplayer2 projects\""
|
||||
MPVCOPYRIGHT="#define MPVCOPYRIGHT \"Copyright © 2000-2022 mpv/MPlayer/mplayer2 projects\""
|
||||
|
||||
# Update version.h only on revision changes to avoid spurious rebuilds
|
||||
if test "$NEW_REVISION" != "$OLD_REVISION"; then
|
||||
|
|
Loading…
Reference in New Issue