Skip to content

Commit fe76175

Browse files
committed
Try all name updates
1 parent a33984d commit fe76175

File tree

2 files changed

+13
-12
lines changed

2 files changed

+13
-12
lines changed

.github/workflows/build-and-release.yml

+10-10
Original file line numberDiff line numberDiff line change
@@ -21,22 +21,22 @@ jobs:
2121
# Platforms that don't work:
2222
#
2323
# - sparc64-unknown-linux-gnu - cannot compile openssl-sys
24-
# - x86_64-unknown-illumos - weird error compiling openssl - "bin/sh: 1: granlib: not found"
24+
# - amd64-unknown-illumos - weird error compiling openssl - "bin/sh: 1: granlib: not found"
2525

2626
- os_name: freebsd-amd64
2727
os: ubuntu-20.04
28-
target: x86_64-unknown-freebsd
28+
target: amd64-unknown-freebsd
2929
bin: pgxn_meta
3030
name: pgxn_meta-freebsd-amd64.tar.gz
3131
skip_tests: true
3232
- os_name: linux-amd64
3333
os: ubuntu-20.04
34-
target: x86_64-unknown-linux-musl
34+
target: amd64-unknown-linux-musl
3535
bin: pgxn_meta
3636
name: pgxn_meta-linux-amd64-musl.tar.gz
3737
- os_name: linux-arm64
3838
os: ubuntu-20.04
39-
target: aarch64-unknown-linux-musl
39+
target: arm64-unknown-linux-musl
4040
bin: pgxn_meta
4141
name: pgxn_meta-linux-arm64-musl.tar.gz
4242
- os_name: linux-arm
@@ -81,13 +81,13 @@ jobs:
8181
skip_tests: true
8282
- os_name: netbsd-amd64
8383
os: ubuntu-20.04
84-
target: x86_64-unknown-netbsd
84+
target: amd64-unknown-netbsd
8585
bin: pgxn_meta
8686
name: pgxn_meta-netbsd-amd64.tar.gz
8787
skip_tests: true
8888
- os_name: windows-arm64
8989
os: windows-latest
90-
target: aarch64-pc-windows-msvc
90+
target: arm64-pc-windows-msvc
9191
bin: pgxn_meta.exe
9292
name: pgxn_meta-windows-arm64.zip
9393
skip_tests: true
@@ -99,17 +99,17 @@ jobs:
9999
skip_tests: true
100100
- os_name: windows-amd64
101101
os: windows-latest
102-
target: x86_64-pc-windows-msvc
102+
target: amd64-pc-windows-msvc
103103
bin: pgxn_meta.exe
104104
name: pgxn_meta-windows-amd64.zip
105105
- os_name: macos-amd64
106106
os: macOS-latest
107-
target: x86_64-apple-darwin
107+
target: amd64-apple-darwin
108108
bin: pgxn_meta
109109
name: pgxn_meta-darwin-amd64.tar.gz
110110
- os_name: macos-arm64
111111
os: macOS-latest
112-
target: aarch64-apple-darwin
112+
target: arm64-apple-darwin
113113
bin: pgxn_meta
114114
name: pgxn_meta-darwin-arm64.tar.gz
115115
skip_tests: true
@@ -123,7 +123,7 @@ jobs:
123123
platform:
124124
os_name: Linux-arm64
125125
os: ubuntu-20.04
126-
target: aarch64-unknown-linux-musl
126+
target: arm64-unknown-linux-musl
127127
bin: pgxn_meta
128128
name: pgxn_meta-Linux-arm64-musl.tar.gz
129129

.github/workflows/cargo-publish.yml

+3-2
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,9 @@ jobs:
2222
run: |
2323
v="v$(grep "^version" Cargo.toml | sed -r 's/version[^"]+"([^"]+).*/\1/')"
2424
if [ "$v" != "$GITHUB_REF_NAME" ]; then
25-
printf "Cargo.toml version %s does not match tag %s" "$v" "$GITHUB_REF_NAME" >&2
25+
printf "Cargo.toml version %s does not match tag %s\n" "$v" "$GITHUB_REF_NAME" >&2
2626
exit 1
2727
fi
28+
printf "Publising %s\n" $v
2829
# cargo publish
29-
# if: startsWith( github.ref, 'refs/tags/v' )
30+
if: startsWith( github.ref, 'refs/tags/v' )

0 commit comments

Comments
 (0)