Changeset 82411 in spip-zone


Ignore:
Timestamp:
May 15, 2014, 2:13:36 PM (5 years ago)
Author:
cam.lafit@…
Message:

Créer le dépot sur github

File:
1 edited

Legend:

Unmodified
Added
Removed
  • _outils_/svn2git/trunk/git2github.sh

    r82410 r82411  
    2424    plugin_name=$(basename $dir_plugin)
    2525
     26    #Creer le depot sur github
     27    echo "Création du depot ${plugin_name} sur github, si besoin"
     28    curl -X POST -H "Authorization: token ${GITHUB_OAUTH_TOKEN}" ${GITHUB_API_URL}/orgs/spip/repos -d '{"name":"'"${plugin_name}"'"}' 2>/dev/null 1>/dev/null
     29
    2630    #Tester la présence du plugin sur github
    2731    #http://stackoverflow.com/questions/12170459/check-if-git-remote-exists-before-first-push
Note: See TracChangeset for help on using the changeset viewer.