Skip to content

Commit

Permalink
fix(cozy-ci): Use token instead password into .transifexrc
Browse files Browse the repository at this point in the history
You can find more infos on .transifexrc and their config in [transifex cli code](https://github.com/transifex/cli/blob/devel/examples/exampleconf/.transifexrc)
  • Loading branch information
cballevre committed Feb 10, 2023
1 parent d999a80 commit f3739e8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
6 changes: 2 additions & 4 deletions packages/cozy-ci/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,7 @@ Requires a file named `.transifexrc.tpl` at the root of the project. The usual c

```
[https://www.transifex.com]
hostname = https://www.transifex.com
username = cozy
token =
rest_hostname = https://rest.api.transifex.com
```

Also requires an env var named `TX_PASSWD` which contains the password/token for the account referenced in the `.transifexrc.tpl` file.
Also requires an env var named `TX_TOKEN` which contains the token for your transifex accound in the `.transifexrc.tpl` file.
2 changes: 1 addition & 1 deletion packages/cozy-ci/transifex.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

curl -o- https://raw.githubusercontent.com/transifex/cli/master/install.sh | bash
install -m0644 .transifexrc.tpl ~/.transifexrc
echo "password = $TX_PASSWD" >> ~/.transifexrc
echo "token = $TX_TOKEN" >> ~/.transifexrc

0 comments on commit f3739e8

Please sign in to comment.