You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
In my CI I want to release a distribution from the command line without using a crowdin.yml file.
Although I provide all required arguments on the command line, the CLI fails with message "Configuration file doesn't exist. Run the 'crowdin init' to generate configuration skeleton". For all other commands i can provide all arguments from the command line without the need to create a crowdin.yml file
To Reproduce
Steps to reproduce the behavior:
$ crowdin distribution release <hash> --token=<token> --base-url=<base-url> --project-id=<project-id>
❌ Configuration file doesn't exist. Run the 'crowdin init' to generate configuration skeleton
If instead, i provide an invalid crowdin config file (see below), i get a warning but the distribution is still released properly.
$ echo '{}' > crowdin_dummy.json && crowdin distribution release <hash> --token=<token> --base-url=<base-url> --project-id=<project-id> --config=crowdin_dummy.json
⚠️ File '~/Coding/work/some-project/crowdin_dummy.json' is not a YAML or YML file
⚠️ File '~/Coding/work/some-project/crowdin_dummy.json' is not a YAML or YML file
✔️ Fetching project info
✔️ Releasing distribution (100%)
✔️ Distribution '<hash>' has been successfully released
**Expected behavior**
I'd expect to be able to use `crowdin distribution release` without providing the `--config` argument if i provide all other mandatory arguments on the command line.
**Environment:**
- OS: macOS 15.1.1
- CLI Version: 4.5.0
The text was updated successfully, but these errors were encountered:
Describe the bug
In my CI I want to release a distribution from the command line without using a
crowdin.yml
file.Although I provide all required arguments on the command line, the CLI fails with message "Configuration file doesn't exist. Run the 'crowdin init' to generate configuration skeleton". For all other commands i can provide all arguments from the command line without the need to create a
crowdin.yml
fileTo Reproduce
Steps to reproduce the behavior:
If instead, i provide an invalid crowdin config file (see below), i get a warning but the distribution is still released properly.
The text was updated successfully, but these errors were encountered: