mirror of
https://github.com/nmap/nmap.git
synced 2025-12-09 06:01:28 +00:00
Change Zenmap version syntax to meet pip standards. Fixes #2714
This commit is contained in:
@@ -86,6 +86,7 @@ def update_date(base_dir):
|
||||
|
||||
|
||||
def update_version(base_dir, version):
|
||||
version = re.sub(r'(?=[^0-9.])', '+', version, 1)
|
||||
print(">>> Updating %s" % os.path.join(base_dir, VERSION))
|
||||
vf = open(os.path.join(base_dir, VERSION), "w")
|
||||
print(version, file=vf)
|
||||
|
||||
@@ -1 +1 @@
|
||||
7.94SVN
|
||||
7.94+SVN
|
||||
|
||||
@@ -64,7 +64,7 @@ APP_DISPLAY_NAME = "Zenmap"
|
||||
APP_WEB_SITE = "https://nmap.org/zenmap/"
|
||||
APP_DOWNLOAD_SITE = "https://nmap.org/download.html"
|
||||
APP_DOCUMENTATION_SITE = "https://nmap.org/book/zenmap.html"
|
||||
APP_COPYRIGHT = "Copyright 2005-2023 Nmap Software LLC"
|
||||
APP_COPYRIGHT = "Copyright 2005-2024 Nmap Software LLC"
|
||||
|
||||
NMAP_DISPLAY_NAME = "Nmap"
|
||||
NMAP_WEB_SITE = "https://nmap.org"
|
||||
|
||||
@@ -1 +1 @@
|
||||
VERSION = "7.94SVN"
|
||||
VERSION = "7.94+SVN"
|
||||
|
||||
Reference in New Issue
Block a user