File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " files-api-server" ,
3
- "version" : " 3.0.1 " ,
3
+ "version" : " 3.0.0 " ,
4
4
"main" : " dist/compiled/app.js" ,
5
5
"bin" : " dist/compiled/server.js" ,
6
6
"repository" : " https://github.com/dabbu-knowledge-platform/files-api-server" ,
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ normal="\e[0m"
24
24
function bump {
25
25
# Check if NPM is installed
26
26
local npm_command=$( which npm)
27
- if [ -z " $npm_command " || " $npm_command " == " npm not found" ]; then
27
+ if [[ -z " $npm_command " || " $npm_command " == " npm not found" ] ]; then
28
28
# If not, throw an error
29
29
echo -e " ${colour_red} NodeJS and NPM must be installed!${colour_red} "
30
30
exit 1
@@ -54,7 +54,7 @@ function bump {
54
54
function add_release_notes {
55
55
# Check if Git is installed
56
56
local git_command=$( which git)
57
- if [ -z " $git_command " || " $git_command " == " git not found" ]; then
57
+ if [[ -z " $git_command " || " $git_command " == " git not found" ] ]; then
58
58
# If not, throw an error
59
59
echo -e " ${colour_red} Git must be installed!${colour_red} "
60
60
exit 1
@@ -107,8 +107,8 @@ function push_to_git {
107
107
108
108
# Run the script
109
109
# If there is no preid, use alpha by default
110
- local preid=
111
- if [ -z " $2 " ]; then
110
+ preid=
111
+ if [[ -z " $2 " ] ]; then
112
112
preid=" alpha"
113
113
else
114
114
preid=" $2 "
Original file line number Diff line number Diff line change 1
- v3.0.1
1
+ v3.0.0
You can’t perform that action at this time.
0 commit comments