Skip to content

Commit

Permalink
fix(deploy): run "git describe" with "--tags" to include tag number
Browse files Browse the repository at this point in the history
  • Loading branch information
JMaio committed Feb 11, 2021
1 parent cec3d13 commit 5a04712
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,9 @@
"web-vitals": "^1.0.1"
},
"scripts": {
"start": "cross-env REACT_APP_GIT_SHA=$(git describe) react-scripts start",
"start:https": "cross-env HTTPS=true REACT_APP_GIT_SHA=$(git describe) react-scripts start",
"build": "cross-env REACT_APP_GIT_SHA=$(git describe) react-scripts build",
"start": "cross-env REACT_APP_GIT_SHA=$(git describe --tags) react-scripts start",
"start:https": "cross-env HTTPS=true REACT_APP_GIT_SHA=$(git describe --tags) react-scripts start",
"build": "cross-env REACT_APP_GIT_SHA=$(git describe --tags) react-scripts build",
"build:ci": "cross-env CI=true yarn build",
"build:localhost": "cross-env PUBLIC_URL='.' react-scripts build",
"test": "react-scripts test",
Expand Down Expand Up @@ -111,4 +111,4 @@
"unplugged": true
}
}
}
}

0 comments on commit 5a04712

Please sign in to comment.