Skip to content

Commit

Permalink
chore: Confirm release script (#1702)
Browse files Browse the repository at this point in the history
  • Loading branch information
aeharding authored Nov 12, 2024
1 parent 9b14ddb commit 8a63c62
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"capacitor:copy:before": "rm -rf $CAPACITOR_WEB_DIR/splash && rm -rf $CAPACITOR_WEB_DIR/screenshots",
"upgrade:packageManager": "corepack use pnpm@latest",
"upgrade:react": "pnpm i --save react@experimental react-dom@experimental babel-plugin-react-compiler@experimental eslint-plugin-react-compiler@experimental eslint-plugin-react-hooks@experimental",
"release": "gh workflow run release.yml"
"release": "./scripts/release.sh"
},
"pnpm": {
"overrides": {
Expand Down
6 changes: 6 additions & 0 deletions scripts/release.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
read -p "Are you sure you want to cut a release? " -n 1 -r
echo
if [[ $REPLY =~ ^[Yy]$ ]]
then
gh workflow run release.yml
fi

0 comments on commit 8a63c62

Please sign in to comment.