Skip to content

Commit

Permalink
Remove GIT_BRANCH from build-all.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
stefandesu committed Jan 16, 2024
1 parent b3543ef commit c5f1e49
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions build/build-all.sh
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,6 @@ function cleanup {
}
trap cleanup EXIT
GIT_BRANCH=master
git checkout $GIT_BRANCH
rm -rf releases
mkdir releases
Expand Down Expand Up @@ -91,7 +88,7 @@ do
# Create build
npm run build
# Create build-info.json from scratch (due to new properties)
VERSION=$TAG GIT_BRANCH=$GIT_BRANCH temp/build-info.js > dist/build-info.json
VERSION=$TAG temp/build-info.js > dist/build-info.json
# Move build to separate folder
mv dist releases/$TAG
# Reset repo for next checkout
Expand Down

0 comments on commit c5f1e49

Please sign in to comment.