Skip to content

Commit

Permalink
Fix messing up of release JSON name, and add 32 char constraint to JS…
Browse files Browse the repository at this point in the history
…ON for metaplex std (#142)
  • Loading branch information
creativedrewy authored Jan 23, 2023
1 parent 3f2ad55 commit 9e00cf9
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion packages/core/src/create/release.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ export const createReleaseJson = async (

const releaseMetadata: MetaplexFileReleaseJsonMetadata = {
schema_version: "0.2.4",
name: "Release: " + appDetails.name,
name: appDetails.name,
description: `Release NFT for ${appDetails.name} version ${releaseDetails.android_details.version}`,
image: appDetails.icon!,
external_url: appDetails.urls.website,
Expand Down
3 changes: 2 additions & 1 deletion packages/core/src/validate/schemas/appJsonMetadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
"type": "string"
},
"name": {
"type": "string"
"type": "string",
"maxLength": 32
},
"image": {
"type": "string"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
"type": "string"
},
"name": {
"type": "string"
"type": "string",
"maxLength": 32
},
"image": {
"type": "string"
Expand Down
3 changes: 2 additions & 1 deletion packages/core/src/validate/schemas/releaseJsonMetadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
"type": "string"
},
"name": {
"type": "string"
"type": "string",
"maxLength": 32
},
"description": {
"type": "string"
Expand Down

0 comments on commit 9e00cf9

Please sign in to comment.