LucianoPAlmeida / variable-injector

Continuous Integration Tool for Swift Projects
MIT License
100 stars 20 forks source link

How as do for not upload the file changed to Repository? #2

Closed xmoba-pablo closed 5 years ago

xmoba-pablo commented 5 years ago

When I execute the script, the file CI.swift is modified and compiled. But, if I do commit and push, I am uploading the CI.swift modified with the secret variables to repository. It is wrong, the file CI.swift must back at status initial without changes.

How can I do commit and push the CI.swift without the secret variables?

LucianoPAlmeida commented 5 years ago

Hey, I think the only way is not to add the file when you commit. If you are using Xcode is just uncheck the CI.swift file when commiting. If you are doing on the terminal is just git add all the other files but not this one :))