vigour-io / packer-server

Asset manager for native wrapped application
0 stars 1 forks source link

replace `/` in branch names #32

Open shawninder opened 8 years ago

shawninder commented 8 years ago

Otherwise the resulting branch will be wrong.

Example: If a branch name is feature/cure-cancer, the packer will get something like health/feature/cure-cancer and split it on / (https://github.com/vigour-io/packer-server/blob/a7879fc196417825fde0b95534e59ad9b8525d76/lib/index.js#L22), assigning the first part to repo and the second part to branch, losing the third part. So you get:

Notice the branch is wrong (should be feature/cure-cancer). This is what needs to be fixed.