mirror of
https://framagit.org/ppom/reaction
synced 2026-03-14 20:55:47 +01:00
release: Fix expected return code from Gitlab
This commit is contained in:
parent
1ec558e559
commit
f7184ff42b
1 changed files with 1 additions and 1 deletions
|
|
@ -269,7 +269,7 @@ curl -O https://static.ppom.me/reaction/releases/{tag}/{deb_name} \\
|
|||
conn.request("POST", "/api/v4/projects/90566/releases", body=body, headers=headers)
|
||||
response = conn.getresponse()
|
||||
|
||||
if response.status != 200:
|
||||
if response.status != 201:
|
||||
print(
|
||||
f"sending message failed: status: {response.status}, reason: {response.reason}"
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue