Skip to content

Commit

Permalink
Release 0.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
hkellaway committed Sep 9, 2020
1 parent 682ae64 commit 1ad1ed9
Show file tree
Hide file tree
Showing 11 changed files with 15 additions and 27 deletions.
2 changes: 1 addition & 1 deletion AppVersion.podspec
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Pod::Spec.new do |s|

s.name = "AppVersion"
s.version = "0.2.0"
s.version = "0.1.0"
s.summary = "A Swift μ-Library for determining app version"
s.description = "A Swift μ-Library for determining app version."
s.homepage = "https://github.com/hkellaway/AppVersion"
Expand Down
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,10 @@ All notable changes to this project will be documented in this file.

---
## [0.1.0](https://github.com/hkellaway/AppVersion/releases/tag/0.1.0)
Released on 2020-09-08.
Released on 2020-09-09.

#### Added
- Ability to derive `AppVersion` from `Bundle`
- Ability to create `AppVersion` from `String`
- Ability to use comparison operators on `AppVersion` instances
- Support for installation via Swift Package Manager and CocoaPods
4 changes: 2 additions & 2 deletions Demo/AppVersionDemo.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@
"$(inherited)",
"@executable_path/Frameworks",
);
MARKETING_VERSION = 0.2.0;
MARKETING_VERSION = 0.1.0;
PRODUCT_BUNDLE_IDENTIFIER = com.harlankellaway.AppVersionDemo;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_VERSION = 5.0;
Expand All @@ -318,7 +318,7 @@
"$(inherited)",
"@executable_path/Frameworks",
);
MARKETING_VERSION = 0.2.0;
MARKETING_VERSION = 0.1.0;
PRODUCT_BUNDLE_IDENTIFIER = com.harlankellaway.AppVersionDemo;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_VERSION = 5.0;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"repositoryURL": "https://github.com/hkellaway/AppVersion",
"state": {
"branch": "trunk",
"revision": "6ce6258a0c2d4b72bbdbbb929089931c5a4b5bf3",
"revision": "682ae64388ee496f150fcf990e1baaee40c94f53",
"version": null
}
}
Expand Down
6 changes: 0 additions & 6 deletions LocalPod/AppVersionLocalPod/ViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,6 @@ class ViewController: UIViewController {

let appVersion: AppVersion? = .fromBundle
versionLabel.text = "Version \(appVersion ?? "Unknown :(")"

let minimumAppVersion: AppVersion = "0.1.0"
guard let currentAppVersion: AppVersion = .fromBundle, currentAppVersion >= minimumAppVersion else {
// send user to App Store
fatalError()
}
}

}
4 changes: 2 additions & 2 deletions LocalPod/Podfile.lock
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
PODS:
- AppVersion (0.2.0)
- AppVersion (0.1.0)

DEPENDENCIES:
- AppVersion (from `../`)
Expand All @@ -9,7 +9,7 @@ EXTERNAL SOURCES:
:path: "../"

SPEC CHECKSUMS:
AppVersion: 832643a4f59410cc5e7d00bfa1ddb4e0b48a1d1e
AppVersion: 704936b4f6614032684df2b91cb9ed4c8371fb45

PODFILE CHECKSUM: f2398af975cce41676d7b42bb2bc5eea99466854

Expand Down
4 changes: 2 additions & 2 deletions LocalPod/Pods/Local Podspecs/AppVersion.podspec.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions LocalPod/Pods/Manifest.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions LocalPod/Pods/Pods.xcodeproj/project.pbxproj

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 0 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
![Swift version](https://img.shields.io/badge/Swift-5.0-orange.svg)
[![SPM Compatible](https://img.shields.io/badge/SPM-compatible-informational.svg)](https://github.com/apple/swift-package-manager)
[![CocoaPods compatible](https://img.shields.io/badge/CocoaPods-compatible-informational.svg)](https://github.com/CocoaPods/CocoaPods)
[![Carthage compatible](https://img.shields.io/badge/Carthage-compatible-informational.svg)](https://github.com/Carthage/Carthage)
[![License](https://img.shields.io/badge/License-MIT-lightgrey.svg)](https://github.com/hkellaway/AppVersion/blob/trunk/LICENSE)
[![Build Status](https://travis-ci.org/hkellaway/AppVersion.svg?branch=trunk)](https://travis-ci.org/hkellaway/AppVersion)

Expand Down Expand Up @@ -48,12 +47,6 @@ See [Adding Package Dependencies to Your App](https://developer.apple.com/docume
pod 'AppVersion', :git => 'https://github.com/hkellaway/AppVersion.git', :branch => 'trunk'
```

### Carthage

```
github "hkellaway/AppVersion" "trunk"
```

## Credits

AppVersion was created by [Harlan Kellaway](http://hkellaway.github.io).
Expand Down

0 comments on commit 1ad1ed9

Please sign in to comment.