Skip to content

Commit

Permalink
fix: 修正 sentry release 错误
Browse files Browse the repository at this point in the history
  • Loading branch information
wyx1818 committed Jun 16, 2021
1 parent c9a1117 commit 760383b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
"analyze": "source-map-explorer 'build/static/js/*.js'",
"start": "react-scripts start",
"build": "react-scripts build",
"release": "react-scripts build && node scripts/sentry.js)",
"release": "react-scripts build && node scripts/sentry.js",
"test": "react-scripts test",
"eject": "react-scripts eject"
},
Expand Down
2 changes: 1 addition & 1 deletion scripts/sentry.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ const fse = require("fs-extra");

async function createReleaseAndUpload() {
const date = new Date();
const release = `${date.getFullYear()}-${date.getMonth() + 1}-${date.getDate()} `;
const release = `${date.getFullYear()}-${date.getMonth() + 1}-${date.getDate()}`;

const cli = new SentryCli();

Expand Down

0 comments on commit 760383b

Please sign in to comment.