File tree Expand file tree Collapse file tree 2 files changed +7
-10
lines changed Expand file tree Collapse file tree 2 files changed +7
-10
lines changed Original file line number Diff line number Diff line change @@ -102,22 +102,19 @@ jobs:
102
102
AWS_ACCESS_KEY_ID : ${{ secrets.AWS_ACCESS_KEY_ID }}
103
103
AWS_SECRET_ACCESS_KEY : ${{ secrets.AWS_SECRET_ACCESS_KEY }}
104
104
run : |
105
- UUID=$(deno run -q ci create-distribution --branch $BRANCH --version $VERSION --package-name darwin-arm64 -- description-file description .json)
106
- i f [ -z "$UUID" ]; then
105
+ UUID=$(deno run -q ci create-distribution --branch $BRANCH --version $VERSION --description-file changelog .json)
106
+ if [ -z "$UUID" ]; then
107
107
echo "Failed to create release"
108
108
exit 1
109
109
fi
110
110
111
- # Write the public and private keys to the environment
112
- echo
113
-
114
111
deno run ci add-distribution-package \
115
112
--uuid $UUID \
116
113
--package $(deno run -q ci get-path --package darwin-arm64) \
117
114
--branch $BRANCH \
118
115
--public-key public.key \
119
- --private-key private.key
120
- --target-operating-system macOS
116
+ --private-key private.key \
117
+ --target-operating-system macOS \
121
118
--target-architecture arm64
122
119
- name : Remove keys
123
120
working-directory : ./ci
Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ const ArtifactId = z.string().uuid();
47
47
48
48
const Artifact = z . object ( {
49
49
id : ArtifactId ,
50
- ref : z . string ( ) ,
50
+ href : z . string ( ) ,
51
51
hash : z . object ( {
52
52
algorithm : HashingAlgorithm ,
53
53
value : z . string ( ) ,
@@ -270,7 +270,7 @@ const removeObsolete = (
270
270
if ( ! artifact ) continue ; // This should never happen.
271
271
newArtifactsMap . set ( artifactId , {
272
272
id : artifactId , // Always prefer the map id.
273
- ref : artifact . ref ,
273
+ href : artifact . href ,
274
274
hash : {
275
275
algorithm : artifact . hash . algorithm ,
276
276
value : artifact . hash . value ,
@@ -409,7 +409,7 @@ const createArtifact = async (
409
409
// Return the artifact.
410
410
return {
411
411
id : artifactId ,
412
- ref : artifactPath ,
412
+ href : '/' + artifactPath ,
413
413
hash : {
414
414
algorithm : 'blake3' ,
415
415
value : hashValue ,
You can’t perform that action at this time.
0 commit comments