forked from Mouws/protonmail-bridge-nextcoud-podman
Change build version format back (#20)
This commit is contained in:
parent
2647f8540e
commit
fdd15bf801
@ -1 +1 @@
|
||||
v1.5.4
|
||||
1.5.4
|
||||
@ -7,7 +7,7 @@ VERSION=`cat VERSION`
|
||||
# Clone new code
|
||||
git clone https://github.com/ProtonMail/proton-bridge.git
|
||||
cd proton-bridge
|
||||
git checkout $VERSION
|
||||
git checkout v$VERSION
|
||||
|
||||
# Build
|
||||
make build-nogui
|
||||
|
||||
@ -59,6 +59,6 @@ response = requests.get(
|
||||
headers={"Accept": "application/vnd.github.v3+json"},
|
||||
)
|
||||
tags = json.loads(response.content)
|
||||
version_re = re.compile("v(\d+)\.(\d+)\.(\d+)")
|
||||
releases = [tag["name"] for tag in tags if version_re.match(tag["name"])]
|
||||
version_re = re.compile("v\d+\.\d+\.\d+")
|
||||
releases = [tag["name"][1:] for tag in tags if version_re.match(tag["name"])]
|
||||
check_version("build", releases[0])
|
||||
|
||||
Loading…
Reference in New Issue
Block a user