Skip to content

Commit

Permalink
Update for 1.5.5 release
Browse files Browse the repository at this point in the history
  • Loading branch information
nicklockwood committed Aug 12, 2022
1 parent 16fedd4 commit a025da1
Show file tree
Hide file tree
Showing 5 changed files with 47 additions and 16 deletions.
42 changes: 33 additions & 9 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,25 +5,49 @@ on:
pull_request:
jobs:
macos:
runs-on: macos-latest
strategy:
fail-fast: false
matrix:
macos:
- 10.15
- 12
xcode:
- latest-stable
runs-on: macos-${{ matrix.macos }}
steps:
- name: Checkout
uses: actions/checkout@v1
uses: actions/checkout@v2
- name: Build and Test
run:
xcodebuild -scheme "ShapeScript Lib" -sdk macosx clean build test
env:
DEVELOPER_DIR: /Applications/Xcode_11.7.app/Contents/Developer
run: |
xcodebuild -scheme "ShapeScript Lib" -sdk macosx clean build test -enableCodeCoverage YES -derivedDataPath Build/
cd Build/Build/ProfileData
cd $(ls -d */|head -n 1)
directory=${PWD##*/}
pathCoverage=Build/Build/ProfileData/${directory}/Coverage.profdata
cd ../../../../
xcrun llvm-cov export -format="lcov" -instr-profile $pathCoverage Build/Build/Products/Debug/ShapeScript.framework/ShapeScript > info.lcov
- name: Codecov
run: bash <(curl -s https://codecov.io/bash) -t 7514ee4a-dfc8-4de0-9964-c2883c941ef4
uses: codecov/codecov-action@v2
with:
# the token is optional for a public repo, but including it anyway
token: 7514ee4a-dfc8-4de0-9964-c2883c941ef4
env_vars: MD_APPLE_SDK_ROOT,RUNNER_OS,RUNNER_ARCH

linux:
strategy:
fail-fast: false
matrix:
swiftver:
- swift:5.2
- swiftlang/swift:nightly-main
swiftos:
- focal
runs-on: ubuntu-latest
container:
image: swift:5.2
image: ${{ format('{0}-{1}', matrix.swiftver, matrix.swiftos) }}
options: --cap-add=SYS_PTRACE --security-opt seccomp=unconfined --security-opt apparmor=unconfined
steps:
- name: Checkout
uses: actions/checkout@v1
- name: Build and Test
run: swift test --enable-test-discovery

7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
## [1.5.5](https://github.com/nicklockwood/ShapeScript/releases/tag/1.5.5) (2022-08-11)

- Significantly improved performance for bulk fill/extrude operations (e.g. text)
- Fixed camera position continuously being reset in ShapeScript Viewer while loading
- Added indicator to Camera menu when camera has been moved
- Bumped Euclid to version 0.5.28

## [1.5.4](https://github.com/nicklockwood/ShapeScript/releases/tag/1.5.4) (2022-07-25)

- Fixed setting font inside a `text` command
Expand Down
4 changes: 2 additions & 2 deletions ShapeScript.podspec.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ShapeScript",
"version": "1.5.4",
"version": "1.5.5",
"license": {
"type": "MIT",
"file": "LICENSE.md"
Expand All @@ -10,7 +10,7 @@
"authors": "Nick Lockwood",
"source": {
"git": "https://github.com/nicklockwood/ShapeScript.git",
"tag": "1.5.4"
"tag": "1.5.5"
},
"source_files": ["ShapeScript", "LRUCache/Sources", "SVGPath/Sources"],
"requires_arc": true,
Expand Down
8 changes: 4 additions & 4 deletions ShapeScript.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -866,7 +866,7 @@
"$(inherited)",
"@executable_path/../Frameworks",
);
MARKETING_VERSION = 1.5.4;
MARKETING_VERSION = 1.5.5;
PRODUCT_BUNDLE_IDENTIFIER = com.charcoaldesign.ShapeScriptViewer;
PRODUCT_MODULE_NAME = Viewer;
PRODUCT_NAME = "ShapeScript Viewer";
Expand Down Expand Up @@ -894,7 +894,7 @@
"$(inherited)",
"@executable_path/../Frameworks",
);
MARKETING_VERSION = 1.5.4;
MARKETING_VERSION = 1.5.5;
PRODUCT_BUNDLE_IDENTIFIER = com.charcoaldesign.ShapeScriptViewer;
PRODUCT_MODULE_NAME = Viewer;
PRODUCT_NAME = "ShapeScript Viewer";
Expand Down Expand Up @@ -1054,7 +1054,7 @@
"@executable_path/../Frameworks",
"@loader_path/Frameworks",
);
MARKETING_VERSION = 1.5.4;
MARKETING_VERSION = 1.5.5;
PRODUCT_BUNDLE_IDENTIFIER = com.charcoaldesign.ShapeScriptLib;
PRODUCT_NAME = ShapeScript;
SKIP_INSTALL = YES;
Expand Down Expand Up @@ -1085,7 +1085,7 @@
"@executable_path/../Frameworks",
"@loader_path/Frameworks",
);
MARKETING_VERSION = 1.5.4;
MARKETING_VERSION = 1.5.5;
PRODUCT_BUNDLE_IDENTIFIER = com.charcoaldesign.ShapeScriptLib;
PRODUCT_NAME = ShapeScript;
SKIP_INSTALL = YES;
Expand Down
2 changes: 1 addition & 1 deletion ShapeScript/Interpreter.swift
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import Foundation

// MARK: Public interface

public let version = "1.5.4"
public let version = "1.5.5"

public protocol EvaluationDelegate: AnyObject {
func resolveURL(for path: String) -> URL
Expand Down

0 comments on commit a025da1

Please sign in to comment.