Skip to content

Commit

Permalink
Bump version to 1.7.0
Browse files Browse the repository at this point in the history
  • Loading branch information
akofman committed Jul 7, 2017
1 parent 8df61bb commit dffa622
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions add-swift-support.js
Original file line number Diff line number Diff line change
Expand Up @@ -12846,6 +12846,10 @@ exports.default = function (context) {
if (config.getPreference('UseLegacySwiftLanguageVersion', 'ios')) {
xcodeProject.updateBuildProperty('SWIFT_VERSION', '2.3', buildConfig.name);
console.log('Use legacy Swift language version', buildConfig.name);
} else if (config.getPreference('UseSwiftLanguageVersion', 'ios')) {
var swiftVersion = config.getPreference('UseSwiftLanguageVersion', 'ios');
xcodeProject.updateBuildProperty('SWIFT_VERSION', swiftVersion, buildConfig.name);
console.log('Use Swift language version', swiftVersion);
} else {
xcodeProject.updateBuildProperty('SWIFT_VERSION', '3.0', buildConfig.name);
console.log('Update SWIFT version to 3.0', buildConfig.name);
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "cordova-plugin-add-swift-support",
"version": "1.6.2",
"version": "1.7.0",
"description": "Add Swift support to your iOS plugins",
"homepage": "https://github.com/akofman/cordova-plugin-add-swift-support",
"author": {
Expand Down
2 changes: 1 addition & 1 deletion plugin.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
id="cordova-plugin-add-swift-support"
version="1.6.2" >
version="1.7.0" >

<name>AddSwiftSupport</name>
<license>Apache 2.0</license>
Expand Down

0 comments on commit dffa622

Please sign in to comment.