Skip to content

Commit

Permalink
Preparing for 2.0.21 release
Browse files Browse the repository at this point in the history
  • Loading branch information
ttscoff committed Aug 30, 2022
1 parent 8769775 commit 5164c54
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
18 changes: 9 additions & 9 deletions scripts/package.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
#!/bin/bash
# Package and notarize a command line tool
# package.sh PRODUCT_NAME BUNDLE_ID EXECUTABLE_NAME VERSION

version=$1
productname=$1
identifier=$2
executable=$3
version=$4

# the email address of your developer account
dev_account="me@brettterpstra.com"
Expand All @@ -14,11 +19,6 @@ dev_team="47TRS7H4BH"
# the label of the keychain item which contains an app-specific password
dev_keychain_label="Developer-altool"

# put your project's information into these variables

identifier="com.brettterpstra.gather-cli"
productname="gather-cli"

projectdir='.'

builddir="$projectdir"
Expand Down Expand Up @@ -77,11 +77,11 @@ notarizefile() { # $1: path to file to notarize, $2: identifier

xcrun swift build -c release --arch arm64 --arch x86_64
bindir=$(xcrun swift build -c release --arch arm64 --arch x86_64 --show-bin-path)
codesign --force --verbose --sign 'Developer ID Application: Brett Terpstra' -o runtime --timestamp $bindir/gather
codesign --verify -vvvv $bindir/gather
codesign --force --verbose --sign 'Developer ID Application: Brett Terpstra' -o runtime --timestamp $bindir/$executable
codesign --verify -vvvv $bindir/$executable
rm -rf package
mkdir -p package/usr/local/bin
cp $bindir/gather package/usr/local/bin/
cp $bindir/$executable package/usr/local/bin/

pkgpath="$builddir/$productname-$version.pkg"

Expand Down
2 changes: 1 addition & 1 deletion src/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<!--GITHUB-->![Howzit banner image](https://cdn3.brettterpstra.com/uploads/2022/08/gatherheader-rb.webp)<!--END GITHUB-->
<!--JEKYLL{% img aligncenter 800 220 /uploads/2022/08/gatherheader-rb.jpg "Howzit banner image" %}-->

Current version: <!--VER-->2.0.19<!--END VER-->
Current version: <!--VER-->2.0.20<!--END VER-->

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.

Expand Down

0 comments on commit 5164c54

Please sign in to comment.