Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
duniter
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Monitor
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
nodes
typescript
duniter
Commits
aff9d34d
Commit
aff9d34d
authored
7 years ago
by
releaser-duniter
Browse files
Options
Downloads
Patches
Plain Diff
remove debug code
parent
135cd13d
Branches
Branches containing commit
Tags
0.99.16
Tags containing commit
2 merge requests
!1233
1.6
,
!1227
Change Vagrant with docker for building Debian
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab/releaser.py
+0
-8
0 additions, 8 deletions
.gitlab/releaser.py
with
0 additions
and
8 deletions
.gitlab/releaser.py
+
0
−
8
View file @
aff9d34d
...
...
@@ -38,10 +38,6 @@ def get_current_message():
tag_url
+=
ci_commit_tag
request
=
urllib
.
request
.
Request
(
tag_url
)
response
=
urllib
.
request
.
urlopen
(
request
)
'''
debug
'''
print
(
'
status: %s
'
%
response
.
status
)
print
(
'
headers:
'
,
response
.
headers
)
print
(
'
body:
'
+
response
.
read
())
data
=
json
.
load
(
response
)
if
data
[
'
release
'
]
is
None
:
...
...
@@ -147,10 +143,6 @@ def send_compiled_message(exists_release, compiled_message):
request
.
add_header
(
'
Private-Token
'
,
releaser_token
)
request
.
add_header
(
'
Content-Type
'
,
'
application/json
'
)
response
=
urllib
.
request
.
urlopen
(
request
)
'''
debug
'''
print
(
'
status: %s
'
%
response
.
status
)
print
(
'
headers:
'
,
response
.
headers
)
print
(
'
body:
'
+
response
.
read
())
def
main
():
'''
Execute main scenario
'''
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment