Skip to content

Commit 6118ba9

Browse files
committed
Preparing for 2.1.10 release
1 parent e3187a6 commit 6118ba9

File tree

7 files changed

+22
-15
lines changed

7 files changed

+22
-15
lines changed

.gitsecret/paths/mapping.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
buildnotes.md:7abf1ca949be13a9a4045a2c3c3502088f9ff1432bdb70536a4b3aaa42713c72
1+
buildnotes.md:f40b30c2fcc3dd898720f3b4a5fe36b5f48bbdbc8322639cbe2e5c5ecb639993

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
## 2.1.10
2+
13
## 2.1.9
24

35
## 2.1.8

Formula/gather-cli.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@
77
class GatherCli < Formula
88
desc "Readability and Markdown utility for saving web urls and HTML text"
99
homepage "https://brettterpstra.com/projects/gather-cli/"
10-
version "2.1.8"
10+
version "2.1.9"
1111
license "MIT"
1212

1313
on_macos do
1414
url "https://github.com/ttscoff/gather-cli/releases/download/v#{version}/gather-cli-#{version}-macos-universal.tar.gz"
15-
sha256 "0019dfc4b32d63c1392aa264aed2253c1e0c2fb09216f8e2cc269bbfb8bb49b5"
15+
sha256 "5a3d5922ebe5b5a936cd1276534c20811d184be68836526d54a9c036651df2e5"
1616
end
1717

1818
def install

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
![Howzit banner image](https://cdn3.brettterpstra.com/uploads/2022/08/gatherheader-rb.webp)
44

55

6-
Current version: 2.1.9
6+
Current version: 2.1.10
77

88
This project is the successor to read2text, which was a Python based tool that used Arc90 Readability and html2text to convert web URLs to Markdown documents, ready to store in your notes. It takes its name from another of my similar projects that I've since retired. It was this, but with a GUI, and this is infinitely more scriptable and is designed to nestle into your favorite tools and projects.
99

Sources/gather/gather.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import Foundation
55
import HTML2Text
66
import Readability
77
import Yams
8-
var VERSION = "2.1.9"
8+
var VERSION = "2.1.10"
99

1010
var acceptedAnswerOnly = false
1111
var disableReadability = false

scripts/package.sh

Lines changed: 14 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -103,19 +103,24 @@ pkgpath="$builddir/$productname-$version.pkg"
103103

104104
echo "## building pkg: $pkgpath"
105105

106-
# Check if installer signing identity is provided and exists
106+
# Check if installer signing identity is provided
107107
if [ -n "$INSTALLER_SIGNATURE" ] && [ "$INSTALLER_SIGNATURE" != "-" ]; then
108-
if security find-identity -v -p codesigning | grep -q "$INSTALLER_SIGNATURE"; then
109-
echo "## Signing PKG with: $INSTALLER_SIGNATURE"
110-
pkgbuild --root "$pkgroot" \
111-
--version "$version" \
112-
--identifier "$identifier" \
113-
--sign "$INSTALLER_SIGNATURE" \
114-
"$pkgpath"
108+
# Try to use the certificate directly - pkgbuild can use installer certs
109+
# even if they don't show up in security find-identity
110+
echo "## Attempting to sign PKG with: $INSTALLER_SIGNATURE"
111+
if pkgbuild --root "$pkgroot" \
112+
--version "$version" \
113+
--identifier "$identifier" \
114+
--sign "$INSTALLER_SIGNATURE" \
115+
"$pkgpath" 2>&1; then
116+
echo "## ✓ PKG signed successfully"
115117
# PKG is signed, can be notarized (if binary was also properly signed)
116118
# SKIP_NOTARIZATION remains false if binary was signed, true if ad-hoc
117119
else
118-
echo "## Warning: Installer identity '$INSTALLER_SIGNATURE' not found, building unsigned pkg"
120+
PKG_BUILD_EXIT=$?
121+
echo "## Warning: Failed to sign with '$INSTALLER_SIGNATURE' (exit code: $PKG_BUILD_EXIT), building unsigned pkg"
122+
# Remove the failed signed package and build unsigned
123+
rm -f "$pkgpath"
119124
pkgbuild --root "$pkgroot" \
120125
--version "$version" \
121126
--identifier "$identifier" \

src/_README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<!--README--><!--GITHUB-->![Howzit banner image](https://cdn3.brettterpstra.com/uploads/2022/08/gatherheader-rb.webp)<!--END GITHUB-->
44
<!--JEKYLL{% img aligncenter 800 220 /uploads/2022/08/gatherheader-rb.jpg "Howzit banner image" %}-->
55

6-
Current version: <!--VER-->2.1.8<!--END VER-->
6+
Current version: <!--VER-->2.1.9<!--END VER-->
77

88
This project is the successor to read2text, which was a Python based tool that used Arc90 Readability and html2text to convert web URLs to Markdown documents, ready to store in your notes. It takes its name from another of my similar projects that I've since retired. It was this, but with a GUI, and this is infinitely more scriptable and is designed to nestle into your favorite tools and projects.
99

0 commit comments

Comments
 (0)