Skip to content
This repository has been archived by the owner on Oct 11, 2023. It is now read-only.

Commit

Permalink
Update versions.py
Browse files Browse the repository at this point in the history
change output version message
  • Loading branch information
SPTKL authored Oct 13, 2020
1 parent ed83ef6 commit f6846e0
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions versions.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import requests
from bs4 import BeautifulSoup
import re
import sys

url = "https://www1.nyc.gov/site/planning/data-maps/open-data/dwn-gde-home.page"
Expand All @@ -11,7 +10,6 @@
for i in table.find_all("th")
if "Release" in i.string
]
print(releases)

minior_lookup = {
'a': 1,
Expand Down Expand Up @@ -39,4 +37,4 @@
PATCH=0
)

print(f"RELEASE={versions['RELEASE']} MAJOR={versions['MAJOR']} MINOR={versions['MINOR']} PATCH={versions['PATCH']}", file=sys.stdout)
print(f"RELEASE={versions['RELEASE']} MAJOR={versions['MAJOR']} MINOR={versions['MINOR']} PATCH={versions['PATCH']}", file=sys.stdout)

0 comments on commit f6846e0

Please sign in to comment.