Skip to content

Commit

Permalink
bump version to 0.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
s1rius committed Oct 14, 2023
1 parent 8937fd9 commit 49de29a
Show file tree
Hide file tree
Showing 14 changed files with 25 additions and 14 deletions.
2 changes: 1 addition & 1 deletion android/buildSrc/src/main/java/wtf/s1/buildsrc/Configs.kt
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ object Versions {
const val targetSdkVersion = 33
const val compileVersion = 33
const val versionCode = 1
const val libVersion = "0.2.0-beta.2"
const val libVersion = "0.2.0"
const val benchmarkVersion = "1.1.0"
const val androidxTestVersion = "1.4.0"
const val espressoCoreVersion = "3.5."
Expand Down
Binary file modified android/lib-ezlog/src/main/jniLibs/arm64-v8a/libezlog.so
Binary file not shown.
Binary file modified android/lib-ezlog/src/main/jniLibs/armeabi-v7a/libezlog.so
Binary file not shown.
Binary file modified android/lib-ezlog/src/main/jniLibs/x86/libezlog.so
Binary file not shown.
Binary file modified android/lib-ezlog/src/main/jniLibs/x86_64/libezlog.so
Binary file not shown.
12 changes: 10 additions & 2 deletions bump.sh
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,12 +1,20 @@
#!/bin/bash
set -e

EXCLUDE_DIR='./target'

# Replace oldstring with the first argument to the script in all files in the current directory and its subdirectories
find . -path "$EXCLUDE_DIR" -prune -o -type f \( -name "*.toml" -o -name "*.kt" -o -name "*.podspec" \) -exec sed -i '' "s/$1/$2/g" {} \;

# clippy check
cargo clippy --all --all-features -- -D warnings

# build iOS
pushd ios
sh b_ios.sh
popd

# build android
pushd android
sh b_android.sh
popd

cargo clippy --workspace --all-features
1 change: 0 additions & 1 deletion docs/src/architecture.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,5 +56,4 @@ First of all, we need an init nonce, which is generated randomly when the logger

```
nonce = init_nonce ^ timestamp.extend(index)
```
2 changes: 1 addition & 1 deletion docs/src/platform/ios.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Add dependency to Podfile

```shell
pod 'EZLog', '~> 0.1'
pod 'EZLog', '~> 0.2'
```
then

Expand Down
2 changes: 1 addition & 1 deletion ezlog-core/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "ezlog"
version = "0.2.0-beta.2"
version = "0.2.0"
edition = "2021"
description = "EZLog core function and code"
homepage = "https://github.com/s1rius/ezlog"
Expand Down
4 changes: 2 additions & 2 deletions ezlogcli/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "ezlogcli"
version = "0.2.0-beta.4"
version = "0.2.0"
edition = "2021"
description = "EZLog command line tool"
homepage = "https://github.com/s1rius/ezlog"
Expand All @@ -10,7 +10,7 @@ keywords = ["ezlog", "cli"]
exclude = ["/resources"]

[dependencies]
ezlog = { version = "0.2.0-beta.2", path = "../ezlog-core", features = ["decode"] }
ezlog = { version = "0.2.0", path = "../ezlog-core", features = ["decode"] }
clap = { version = "4.3.21", features = ["derive"] }
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
Expand Down
2 changes: 1 addition & 1 deletion ios/EZLog.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

Pod::Spec.new do |s|
s.name = 'EZLog'
s.version = '0.2.0-beta.2'
s.version = '0.2.0'
s.summary = 'A high efficiency cross-platform Logging Library.'
s.swift_version = '5.6'

Expand Down
14 changes: 9 additions & 5 deletions ios/framework/ezlog.xcframework/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -5,35 +5,39 @@
<key>AvailableLibraries</key>
<array>
<dict>
<key>BinaryPath</key>
<string>libezlog.a</string>
<key>HeadersPath</key>
<string>Headers</string>
<key>LibraryIdentifier</key>
<string>ios-arm64</string>
<string>ios-arm64_x86_64-simulator</string>
<key>LibraryPath</key>
<string>libezlog.a</string>
<key>SupportedArchitectures</key>
<array>
<string>arm64</string>
<string>x86_64</string>
</array>
<key>SupportedPlatform</key>
<string>ios</string>
<key>SupportedPlatformVariant</key>
<string>simulator</string>
</dict>
<dict>
<key>BinaryPath</key>
<string>libezlog.a</string>
<key>HeadersPath</key>
<string>Headers</string>
<key>LibraryIdentifier</key>
<string>ios-arm64_x86_64-simulator</string>
<string>ios-arm64</string>
<key>LibraryPath</key>
<string>libezlog.a</string>
<key>SupportedArchitectures</key>
<array>
<string>arm64</string>
<string>x86_64</string>
</array>
<key>SupportedPlatform</key>
<string>ios</string>
<key>SupportedPlatformVariant</key>
<string>simulator</string>
</dict>
</array>
<key>CFBundlePackageType</key>
Expand Down
Binary file modified ios/framework/ezlog.xcframework/ios-arm64/libezlog.a
Binary file not shown.
Binary file not shown.

0 comments on commit 49de29a

Please sign in to comment.