Skip to content

Commit 0ce6e5a

Browse files
committed
Remove gpg hacks
1 parent 167d91e commit 0ce6e5a

File tree

4 files changed

+4
-9
lines changed

4 files changed

+4
-9
lines changed

.github/workflows/cd.yml

+1-6
Original file line numberDiff line numberDiff line change
@@ -127,23 +127,18 @@ jobs:
127127
- run: tar cJf $FILENAME pkgx
128128

129129
- name: GPG sign archive
130-
# NOTE the +sqlite3 is a bug that we can’t figure out that only fails
131-
# on darwin aarch64 in CI, the sqlite dep is not installed for some
132-
# reason. Works locally! So we're confused and stuck.
133130
run: |
134131
./pkgx gpg-agent --daemon || true
135132
echo $GPG_PRIVATE_KEY | \
136133
base64 -d | \
137-
./pkgx +sqlite3 gpg --import --batch --yes
134+
./pkgx gpg --import --batch --yes
138135
./pkgx gpg \
139136
--detach-sign --armor \
140137
--local-user $GPG_KEY_ID \
141138
$FILENAME
142139
env:
143140
GPG_KEY_ID: ${{ secrets.GPG_KEY_ID }}
144141
GPG_PRIVATE_KEY: ${{ secrets.GPG_PRIVATE_KEY }}
145-
if: matrix.platform.build-id != 'linux+x86-64'
146-
# ^^ pkgx^2 deployment woe
147142

148143
- run: echo 'naughty-boy' > $FILENAME.asc
149144
if: matrix.platform.build-id == 'linux+x86-64'

Cargo.lock

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

crates/cli/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name = "pkgx"
33
description = "Run anything"
44
authors = ["Max Howell <[email protected]>", "Jacob Heider <[email protected]>"]
55
license = "Apache-2.0"
6-
version = "2.1.0"
6+
version = "2.1.1"
77
edition = "2021"
88
repository = "https://github.com/pkgxdev/pkgx"
99

scripts/publish-release.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ fi
1212

1313
v_new=$(cargo metadata --format-version 1 --no-deps | jq -r '.packages[] | select(.name == "pkgx") | .version')
1414

15-
case $(gh release view --json isDraft | jq .isDraft) in
15+
case $(gh release view $v_new --json isDraft | jq .isDraft) in
1616
'release not found')
1717
gum confirm "prepare draft release for $v_new?" || exit 1
1818

0 commit comments

Comments
 (0)