Skip to content

Commit 71104bd

Browse files
committed
wip
1 parent 07f19f8 commit 71104bd

File tree

2 files changed

+20
-11
lines changed

2 files changed

+20
-11
lines changed

precheck

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
#!/bin/bash
22

3-
BINARY_VERSION=`grep 'const binaryVersion' src/support/parser.ts | sed -E 's/.*"([^"]+)".*/\1/'`
3+
# BINARY_VERSION=`grep 'const binaryVersion' src/support/parser.ts | sed -E 's/.*"([^"]+)".*/\1/'`
44

5-
read -p "Correct binary version (y/n)? $BINARY_VERSION " confirmation
5+
# read -p "Correct binary version (y/n)? $BINARY_VERSION " confirmation
66

7-
if [ "$confirmation" != "y" ]; then
8-
echo "Please update the binary version in src/support/parser.ts"
9-
exit 1
10-
fi
7+
# if [ "$confirmation" != "y" ]; then
8+
# echo "Please update the binary version in src/support/parser.ts"
9+
# exit 1
10+
# fi
1111

12-
read -p "Did you update the changelog? (y/n)? " confirmation
12+
# read -p "Did you update the changelog? (y/n)? " confirmation
1313

14-
if [ "$confirmation" != "y" ]; then
15-
echo "Maybe update the changelog before publishing."
16-
exit 1
17-
fi
14+
# if [ "$confirmation" != "y" ]; then
15+
# echo "Maybe update the changelog before publishing."
16+
# exit 1
17+
# fi

release.sh

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,15 @@ set -e
55
echo "🚀 Laravel VS Code Extension Release"
66
echo "=========================================="
77

8+
BINARY_VERSION=`grep 'const binaryVersion' src/support/parser.ts | sed -E 's/.*"([^"]+)".*/\1/'`
9+
10+
read -p "Correct binary version (y/n)? $BINARY_VERSION " confirmation
11+
12+
if [ "$confirmation" != "y" ]; then
13+
echo "Please update the binary version in src/support/parser.ts"
14+
exit 1
15+
fi
16+
817
echo
918
echo "Current version: $(node -p "require('./package.json').version")"
1019
echo

0 commit comments

Comments
 (0)