Skip to content

Commit

Permalink
Merge pull request #82 from tchapgouv/fix/set-version-in-scalingo-builds
Browse files Browse the repository at this point in the history
Set VERSION in scalingo builds
  • Loading branch information
estellecomment authored Jul 6, 2022
2 parents 47a2c28 + 786c883 commit 893c4a3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions scripts/package-scalingo-prod.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ set -e
version=`node -e 'console.log(require("./package.json").version)'`
today=$(date +%Y%m%d)

export VERSION=$version
echo "VERSION is set to $VERSION"

if [[ -n "$CONFIG" ]]; then
echo "CONFIG=$CONFIG"
cp "config.$CONFIG.json" config.json
Expand Down

0 comments on commit 893c4a3

Please sign in to comment.