-
Notifications
You must be signed in to change notification settings - Fork 21
Updating Swift cfenv
Whenever updates are made to the Swift-cfenv package, please make sure you also update the swift-helloworld repo, which can be found at: https://github.com/IBM-Bluemix/swift-helloworld.
We keep the master branches for these two repos (i.e. Swift-cfenv and swift-helloworld) compatible with the latest Swift version supported by the buildpack currently installed on Bluemix.
Now, the develop branches for these two repos may be compatible with a much recent version of the Swift binaries.at a higher swift version than the master branch
The Swift-cfenv master branch has not been updated to the 06-20 version yet because of the bluemix buildpack
Both repo's branches:
Swift-cfenv | swift-helloworld | Version | Comment |
---|---|---|---|
master | master | version of the swift buildpack | should be compatible with each other |
develop | develop | can be a higher level than master | should be compatible with each other |
Both repo's are setup to use travis ci
If you make changes to the repo's please use your own branch to test it out before putting it into the develop branch. You would create you own branch with the following commands:
$git checkout develop
$git pull
this makes sure you have the latest changes from the develop branch.
$git checkout -b {your branch name}
$git push --set-upstream origin {your branch name}
This creates you branch on github
${editor of choice} .travis.yml
-- change the following section to include your branch
-- branches:
-- only:
-- - master
-- - develop
-- - {your branch}
Save the file with your changes in it
$git add .travis.yml
$git commit -m "Your comment here"
$git push
That will commit your changes locally and push them up to github for the travis build to pick up. To check on the travis build go to the following URL:
https://travis-ci.org/IBM-Swift/Swift-cfenv/branches
or
https://travis-ci.org/IBM-Bluemix/swift-helloworld/branches
You should see your branch there and you can checkout the status of the build