Skip to content
Snippets Groups Projects
Commit d42a7f31 authored by Millicent Billette's avatar Millicent Billette
Browse files

some contrib to the github->gitlab migration.

parent 0bfb211e
No related branches found
No related tags found
No related merge requests found
...@@ -43,7 +43,7 @@ ...@@ -43,7 +43,7 @@
}, },
"repository": { "repository": {
"type": "git", "type": "git",
"url": "git@github.com:duniter/duniter.git" "url": "https://git.duniter.org/nodes/typescript/duniter.git"
}, },
"keywords": [ "keywords": [
"duniter", "duniter",
...@@ -55,7 +55,7 @@ ...@@ -55,7 +55,7 @@
"license": "AGPL-3.0", "license": "AGPL-3.0",
"readmeFilename": "README.md", "readmeFilename": "README.md",
"bugs": { "bugs": {
"url": "https://github.com/duniter/duniter/issues" "url": "https://git.duniter.org/nodes/typescript/duniter/issues"
}, },
"dependencies": { "dependencies": {
"@types/ws": "^5.1.2", "@types/ws": "^5.1.2",
......
...@@ -76,6 +76,8 @@ const value = process.argv[5] ...@@ -76,6 +76,8 @@ const value = process.argv[5]
process.exit(0); process.exit(0);
})() })()
// FIXME: still used ? still depend of github and not gitlab ?
// FIXME: code duplicate with upload-release.js
async function github(url, method = 'GET', body = undefined) { async function github(url, method = 'GET', body = undefined) {
await new Promise((resolve) => setTimeout(resolve, 1)); await new Promise((resolve) => setTimeout(resolve, 1));
return await rp({ return await rp({
......
...@@ -37,6 +37,8 @@ const fileType = getFileType(filePath) ...@@ -37,6 +37,8 @@ const fileType = getFileType(filePath)
process.exit(0); process.exit(0);
})() })()
// FIXME: still used ? still depend of github and not gitlab ?
// FIXME: code duplicate with create-release.js
async function github(url) { async function github(url) {
await new Promise((resolve) => setTimeout(resolve, 1)); await new Promise((resolve) => setTimeout(resolve, 1));
return await rp({ return await rp({
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment