Skip to content

Commit

Permalink
Merge branch 'release/4.14.2' into versions
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeehut committed Jan 3, 2023
2 parents 6632e30 + efa0f88 commit a81a6ab
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 10 deletions.
7 changes: 3 additions & 4 deletions BartyCrouch.podspec
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Pod::Spec.new do |s|

s.name = "BartyCrouch"
s.version = "4.14.1"
s.version = "4.14.2"
s.summary = "Localization/I18n: Incrementally update/translate your Strings files from .swift, .h, .m(m), .storyboard or .xib files."

s.description = <<-DESC
Expand All @@ -20,10 +20,9 @@ Pod::Spec.new do |s|
s.source = { :http => "#{s.homepage}/releases/download/#{s.version}/portable_bartycrouch.zip" }
s.preserve_paths = "*"

s.ios.deployment_target = '9.0'
s.ios.deployment_target = '11.0'
s.macos.deployment_target = '13.0'
s.tvos.deployment_target = '9.0'
s.watchos.deployment_target = '2.0'
s.tvos.deployment_target = '11.0'
s.swift_version = '5.7'

end
14 changes: 10 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,18 @@ install: bartycrouch

.PHONY: portable_zip
portable_zip: bartycrouch_universal
rm -f "$(BUILDDIR)/Apple/Products/Release/portable_bartycrouch.zip"
zip -j "$(BUILDDIR)/Apple/Products/Release/portable_bartycrouch.zip" \
"$(BUILDDIR)/Apple/Products/Release/bartycrouch" \
@rm -f "$(BUILDDIR)/Apple/Products/Release/portable_bartycrouch.zip"

$(eval TMP := $(shell mktemp -d))
@cp "$(BUILDDIR)/Apple/Products/Release/bartycrouch" "$(TMP)/bartycrouch"
@install_name_tool -add_rpath "@executable_path/." "$(TMP)/bartycrouch"

@zip -q -j "$(BUILDDIR)/Apple/Products/Release/portable_bartycrouch.zip" \
"$(TMP)/bartycrouch" \
"$(REPODIR)/LICENSE" \
".build/artifacts/swift-syntax/_InternalSwiftSyntaxParser.xcframework/macos-arm64_x86_64/lib_InternalSwiftSyntaxParser.dylib"
echo "Portable ZIP created at: $(BUILDDIR)/Apple/Products/Release/portable_bartycrouch.zip"
@echo "Portable ZIP created at: $(BUILDDIR)/Apple/Products/Release/portable_bartycrouch.zip"
@rm -rf $(TMP)

.PHONY: uninstall
uninstall:
Expand Down
2 changes: 1 addition & 1 deletion Sources/BartyCrouch/main.swift
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import SwiftCLI
// MARK: - CLI
let cli = CLI(
name: "bartycrouch",
version: "4.14.1",
version: "4.14.2",
description: "Incrementally update & translate your Strings files from code or interface files."
)

Expand Down
2 changes: 1 addition & 1 deletion Sources/SupportingFiles/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>4.14.1</string>
<string>4.14.2</string>
<key>CFBundleVersion</key>
<string>$(CURRENT_PROJECT_VERSION)</string>
<key>NSHumanReadableCopyright</key>
Expand Down

0 comments on commit a81a6ab

Please sign in to comment.