Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Krisell committed Nov 23, 2019
2 parents a718970 + 9982b8f commit 0b3d212
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ The package is configured for automatic discovery, so unless you have other sett
## Usage
The package adds a route `/version` which displays the value of the environment-variable VERSION.

You need to set the value of this variable during your buld or deploy process.
You need to set the value of this variable during your build or deploy process.

```bash
VERSION=YOUR_VERSION_VALUE
Expand All @@ -23,7 +23,7 @@ One way to achieve this is to run the following script, which uses the git hash
echo "VERSION=$(git -C gitdir rev-parse HEAD)" >> .env.current-build
```

.env.current-build refers to a copy of the .env-file, to ensure that the addition is not persistent.
`.env.current-build` refers to a copy of the `.env-file`, to ensure that the addition is not persistent.

## Licence
MIT
Expand Down

0 comments on commit 0b3d212

Please sign in to comment.