Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
0c8e75e82e
|
|||
715c984e40
|
3
gitlabreleaseuploader.py
Normal file → Executable file
3
gitlabreleaseuploader.py
Normal file → Executable file
@ -1,3 +1,5 @@
|
|||||||
|
#!/usr/bin/python
|
||||||
|
|
||||||
import requests
|
import requests
|
||||||
import json
|
import json
|
||||||
import argparse
|
import argparse
|
||||||
@ -46,7 +48,6 @@ parser.add_argument('--verbose', '-v',
|
|||||||
action='store_true',
|
action='store_true',
|
||||||
default=False)
|
default=False)
|
||||||
args = parser.parse_args()
|
args = parser.parse_args()
|
||||||
print(args)
|
|
||||||
|
|
||||||
privateToken = args.privateToken
|
privateToken = args.privateToken
|
||||||
projectId = args.projectId
|
projectId = args.projectId
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"releaseTag": "v1.2",
|
"releaseTag": "v1.4",
|
||||||
"createReleaseTag": "true",
|
"createReleaseTag": "true",
|
||||||
"releaseName": "Third release of the uploader",
|
"releaseName": "Fifth release of the uploader",
|
||||||
"description": "Verbose switch integrated to limit output"
|
"description": "Set interpreter in shebang line and set execute flag"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user