Skip to content

Commit e5ac65b

Browse files
committed
Fix release script & add default carrier name (configurable)
1 parent 94ffe31 commit e5ac65b

4 files changed

Lines changed: 18 additions & 7 deletions

File tree

CHANGELOG.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,16 @@ This project adheres to [Semantic Versioning](http://semver.org/).
1010

1111
### Removed
1212

13-
## [0.3.0](https://github.com/openium/SwiftiumTestingKit/compare/v0.3.0...v0.4.0)
13+
## [0.5.0](https://github.com/openium/SwiftiumTestingKit/compare/v0.5.0...v0.4.0)
14+
### Added
15+
Add default carrier name
16+
17+
### Changed
18+
19+
### Removed
20+
21+
22+
## [0.4.0](https://github.com/openium/SwiftiumTestingKit/compare/v0.4.0...v0.3.0)
1423
### Added
1524
Attach screenshot using XCUIScreen.main.screenshot() and a name
1625

SwiftiumTestingKit.xcodeproj/project.pbxproj

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -542,7 +542,7 @@
542542
CLANG_ENABLE_MODULES = YES;
543543
CODE_SIGN_IDENTITY = "";
544544
CODE_SIGN_STYLE = Automatic;
545-
CURRENT_PROJECT_VERSION = 4;
545+
CURRENT_PROJECT_VERSION = 5;
546546
DEFINES_MODULE = YES;
547547
DEVELOPMENT_TEAM = QH6KR5PAQ7;
548548
DYLIB_COMPATIBILITY_VERSION = 1;
@@ -560,7 +560,7 @@
560560
"@executable_path/Frameworks",
561561
"@loader_path/Frameworks",
562562
);
563-
MARKETING_VERSION = 0.4.0;
563+
MARKETING_VERSION = 0.5.0;
564564
PRODUCT_BUNDLE_IDENTIFIER = fr.openium.SwiftiumTestingKit;
565565
PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)";
566566
SKIP_INSTALL = YES;
@@ -576,7 +576,7 @@
576576
CLANG_ENABLE_MODULES = YES;
577577
CODE_SIGN_IDENTITY = "";
578578
CODE_SIGN_STYLE = Automatic;
579-
CURRENT_PROJECT_VERSION = 4;
579+
CURRENT_PROJECT_VERSION = 5;
580580
DEFINES_MODULE = YES;
581581
DEVELOPMENT_TEAM = QH6KR5PAQ7;
582582
DYLIB_COMPATIBILITY_VERSION = 1;
@@ -594,7 +594,7 @@
594594
"@executable_path/Frameworks",
595595
"@loader_path/Frameworks",
596596
);
597-
MARKETING_VERSION = 0.4.0;
597+
MARKETING_VERSION = 0.5.0;
598598
PRODUCT_BUNDLE_IDENTIFIER = fr.openium.SwiftiumTestingKit;
599599
PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)";
600600
SKIP_INSTALL = YES;

SwiftiumTestingKit/STKSolo.swift

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ public class STKSolo: NSObject {
1818
return isSingleTestRun()
1919
}()
2020

21+
public static var defaultCarrierName = "OPENIUM"
22+
2123
var internalTimeToWaitForever: Double {
2224
var time = timeToWaitForever
2325
if isUserJenkinsOrHudson() {
@@ -43,7 +45,7 @@ public class STKSolo: NSObject {
4345
}
4446
testActor.executionBlockTimeout = timeoutForWaitForMethods
4547

46-
SDStatusBarManager.sharedInstance()?.carrierName = "OPENIUM"
48+
SDStatusBarManager.sharedInstance()?.carrierName = STKSolo.defaultCarrierName
4749
SDStatusBarManager.sharedInstance()?.bluetoothState = SDStatusBarManagerBluetoothState.visibleConnected
4850
SDStatusBarManager.sharedInstance()?.enableOverrides()
4951

tag-release.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,5 +21,5 @@ git push --tags
2121
git tag -f latest
2222
git push --tags -f
2323

24-
echo "You can now upload SwiftiumTestingKit.framework.zip and edit release notes from https://github.com/openium/SwiftiumiTestingKit/releases/edit/$TAG"
24+
echo "You can now upload SwiftiumTestingKit.framework.zip and edit release notes from https://github.com/openium/SwiftiumTestingKit/releases/edit/$TAG"
2525

0 commit comments

Comments
 (0)