I use the next command to publish a new version:
viktor-cli publish --registered-name ballast-nedam-heibaarheidsanalyse --app-dir ballast-nedam-heibaarheidsanalyse-viktor --tag v4.0.17
I get the next error message:
INFO: Git repository detected, respecting gitignore.
Exiting because of an error: CreateFile C:\Viktor\viktor-app-starter\ballast-nedam-heibaarheidsanalyse-viktor\manifest\manifest.yml: Het systeem kan het opgegeven bestand niet vinden.
What goes wrong?
Is the flag --use-filesystem an option?
The cli detected a git repo, and in that case will only take into account the files that you have added to git. Can you check that you have added this file to you git repo? You can do this by checking if you can see it in the repo online, or in the terminal with
git status manifest/manifest.yml
or, alternatively to do this for all the files in your app
If the file has not been added to the git repository you will see this message:
(use "git add <file>..." to include in what will be committed)
--use-filesystem flag would indeed make sure that files that are not correctly added to you git repository will be uploaded as well. This would also include for instance hidden folders for the settings of your IDE, the .git folder that defines your repository. This can be more files than you expect, I do not think this is the way to go.
A commit solved the problem.
Thanks for the support.