diff --git a/README.md b/README.md index d0c5453..c0311f2 100644 --- a/README.md +++ b/README.md @@ -9,8 +9,9 @@ Go to and generate a new token. Copy the 32 bytes string that will appear on the top of the page and save it somewhere safe. - echo -en > gitea-token + echo "gitea-token=" >> ~/.bashrc ## Create a new repository. - gitea.sh newrepo reponame "Repo's description" false "CC0-1.0" true "" "" "" $(cat gitea-token) + gitea.sh newrepo reponame "Repo's description" false "CC0-1.0" true "" "" "" $gitea-token + diff --git a/gitea.sh b/gitea.sh index dcfa329..4351252 100755 --- a/gitea.sh +++ b/gitea.sh @@ -33,4 +33,3 @@ newrepo(){ if [ $1 == "newrepo" ]; then newrepo "$@"; fi -