Skip to content

Commit

Permalink
fix(versioning): use git describe for version info
Browse files Browse the repository at this point in the history
  • Loading branch information
JMaio committed Dec 25, 2020
1 parent a25eb95 commit 99f71a2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@
"web-vitals": "^1.0.1"
},
"scripts": {
"start": "cross-env REACT_APP_GIT_SHA=$(git rev-parse --short HEAD) react-scripts start",
"build": "cross-env REACT_APP_GIT_SHA=$(git rev-parse --short HEAD) react-scripts build",
"start": "cross-env REACT_APP_GIT_SHA=$(git describe) react-scripts start",
"build": "cross-env REACT_APP_GIT_SHA=$(git describe) 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 @@ -86,4 +86,4 @@
"lint-staged": {
"./src/**/*.{js,jsx,ts,tsx}": "pretty-quick"
}
}
}

0 comments on commit 99f71a2

Please sign in to comment.