Merge pull request #201 from mas-cli/release-1.6.0

🔖 Release 1.6.0
This commit is contained in:
Ben Chatelain 2019-01-12 18:53:59 -07:00 committed by GitHub
commit af1e9d4cb4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 43 additions and 24 deletions

View file

@ -1 +1,2 @@
brew "carthage"
brew "carthage"
brew "swiftlint"

View file

@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
## [Unreleased]
## [v1.6.0] 🔗 Links - 2019-01-12
- 👐🏻 Open AppStore.app with just `mas open` #200
- ♻️🌐 Network refactor #198
- 👷🏻‍♀️ Jenkins Pipeline #197
@ -140,7 +144,8 @@ Use the `mas.pkg` package to install manually.
## [v1.0.0] - 2015-09-20
- Initial Release
[Unreleased]: https://github.com/mas-cli/mas/compare/v1.5.0...HEAD
[Unreleased]: https://github.com/mas-cli/mas/compare/v1.6.0...HEAD
[v1.6.0]: https://github.com/mas-cli/mas/compare/v1.5.0...v1.6.0
[v1.5.0]: https://github.com/mas-cli/mas/compare/v1.4.4...v1.5.0
[v1.4.4]: https://github.com/mas-cli/mas/compare/v1.4.3...v1.4.4
[v1.4.3]: https://github.com/mas-cli/mas/compare/v1.4.2...v1.4.3

13
Jenkinsfile vendored
View file

@ -29,7 +29,7 @@ pipeline {
}
stages {
stage('Assemble') {
stage('🏗️ Assemble') {
steps {
ansiColor('xterm') {
sh 'script/bootstrap'
@ -39,25 +39,24 @@ pipeline {
}
}
}
stage('Test') {
stage('Test') {
steps {
ansiColor('xterm') {
sh 'script/test'
}
}
}
stage('Lint') {
stage('🚨 Lint') {
steps {
ansiColor('xterm') {
echo 'Not implemented'
sh 'script/lint'
}
}
}
stage('Danger') {
stage('⚠️ Danger') {
steps {
ansiColor('xterm') {
// sh 'bundle install --verbose'
sh 'bundle exec danger --verbose'
sh 'script/danger'
}
}
}

View file

@ -15,9 +15,9 @@
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>1.5.1</string>
<string>1.6.0</string>
<key>CFBundleVersion</key>
<string>10501000</string>
<string>10600000</string>
<key>NSHumanReadableCopyright</key>
<string>Copyright © 2018 Andrew Naylor. All rights reserved.</string>
</dict>

View file

@ -15,8 +15,8 @@
<key>CFBundlePackageType</key>
<string>BNDL</string>
<key>CFBundleShortVersionString</key>
<string>1.5.1</string>
<string>1.6.0</string>
<key>CFBundleVersion</key>
<string>10501000</string>
<string>10600000</string>
</dict>
</plist>

View file

@ -889,7 +889,7 @@
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "if which -s swiftlint; then\n swiftlint\nelse\n echo \"warning: SwiftLint not installed, download from https://github.com/realm/SwiftLint\"\nfi\n";
shellScript = "if test -n \"$JENKINS_URL\"\nthen\n echo \"Skipping SwiftLint run script on CI, will run in Lint stage.\"\n return\nfi\n\nif which -s swiftlint; then\n swiftlint lint --quiet\nelse\n echo \"warning: SwiftLint not installed, download from https://github.com/realm/SwiftLint\"\nfi\n";
};
/* End PBXShellScriptBuildPhase section */
@ -1037,7 +1037,7 @@
CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
CREATE_INFOPLIST_SECTION_IN_BINARY = YES;
CURRENT_PROJECT_VERSION = 10501000;
CURRENT_PROJECT_VERSION = 10600000;
DEBUG_INFORMATION_FORMAT = dwarf;
ENABLE_STRICT_OBJC_MSGSEND = YES;
ENABLE_TESTABILITY = YES;
@ -1102,7 +1102,7 @@
CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
CREATE_INFOPLIST_SECTION_IN_BINARY = YES;
CURRENT_PROJECT_VERSION = 10501000;
CURRENT_PROJECT_VERSION = 10600000;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
ENABLE_NS_ASSERTIONS = NO;
ENABLE_STRICT_OBJC_MSGSEND = YES;
@ -1189,10 +1189,10 @@
CODE_SIGN_STYLE = Automatic;
COMBINE_HIDPI_IMAGES = YES;
COPY_PHASE_STRIP = NO;
CURRENT_PROJECT_VERSION = 10501000;
CURRENT_PROJECT_VERSION = 10600000;
DEFINES_MODULE = YES;
DYLIB_COMPATIBILITY_VERSION = 5.0;
DYLIB_CURRENT_VERSION = 5.1;
DYLIB_COMPATIBILITY_VERSION = 6.0;
DYLIB_CURRENT_VERSION = 6.0;
DYLIB_INSTALL_NAME_BASE = "@rpath";
FRAMEWORK_SEARCH_PATHS = (
"$(inherited)",
@ -1227,10 +1227,10 @@
CODE_SIGN_STYLE = Automatic;
COMBINE_HIDPI_IMAGES = YES;
COPY_PHASE_STRIP = NO;
CURRENT_PROJECT_VERSION = 10501000;
CURRENT_PROJECT_VERSION = 10600000;
DEFINES_MODULE = YES;
DYLIB_COMPATIBILITY_VERSION = 5.0;
DYLIB_CURRENT_VERSION = 5.1;
DYLIB_COMPATIBILITY_VERSION = 6.0;
DYLIB_CURRENT_VERSION = 6.0;
DYLIB_INSTALL_NAME_BASE = "@rpath";
FRAMEWORK_SEARCH_PATHS = (
"$(inherited)",

View file

@ -11,6 +11,6 @@
<key>CFBundleName</key>
<string>mas-cli</string>
<key>CFBundleShortVersionString</key>
<string>1.5.1</string>
<string>1.6.0</string>
</dict>
</plist>

View file

@ -3,7 +3,7 @@
main() {
echo "==> 👢 Bootstrapping"
bundle install
brew bundle
brew bundle install --verbose
carthage bootstrap --platform macOS --cache-builds
script/sort

9
script/danger Executable file
View file

@ -0,0 +1,9 @@
#!/bin/bash -e
#
# script/danger
# mas-cli
#
echo "==> ⚠️ Running danger"
bundle exec danger --verbose

5
script/lint Executable file
View file

@ -0,0 +1,5 @@
#!/bin/bash -e
echo "==> 🚨 Linting mas"
swiftlint lint --strict