Skip to content

Commit 02e2b13

Browse files
committed
oups
1 parent ae9d683 commit 02e2b13

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

genmake/config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
# **************************************************************************** #
1414

1515
PROG="genmake"
16-
VERSION="1.1.5"
16+
VERSION="1.1.6"
1717
DESC="Generate Makefile for C Project of 42 School"
1818

1919
BUILDER=dict()

genmake/update.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
# By: atrouill <[email protected]> +#+ +:+ +#+ #
77
# +#+#+#+#+#+ +#+ #
88
# Created: 2021/09/08 10:01:25 by atrouill #+# #+# #
9-
# Updated: 2022/01/24 11:31:17 by atrouill ### ########.fr #
9+
# Updated: 2022/05/03 17:27:38 by atrouill ### ########.fr #
1010
# #
1111
# **************************************************************************** #
1212

@@ -50,7 +50,7 @@ def check_update():
5050
if origin == None or gen == None:
5151
return (False)
5252

53-
if (origin["version"] != config.VERSION):
53+
if (origin["version"] != ("v" + config.VERSION)):
5454
print(Fore.YELLOW, end='')
5555
print("A new version is available.")
5656
print("Please update with : 'python3 -m pip install --upgrade genmake'")
@@ -60,7 +60,7 @@ def check_update():
6060
print("\t" + line)
6161
print(Style.RESET_ALL)
6262

63-
elif (config.VERSION != gen) and (os.path.isfile('./Makefile')):
63+
elif (("v" + config.VERSION) != gen) and (os.path.isfile('./Makefile')):
6464
print(Fore.YELLOW, end='')
6565
print("Your Makefile was generated with an old version of genmake")
6666
print("It is recommended to run 'genmake --remake' to correct possible bugs")

0 commit comments

Comments
 (0)