Skip to content

Commit

Permalink
Updates to GIT command and default tag
Browse files Browse the repository at this point in the history
Add GIT RESET to override changes made which may prevent future git pulls to to newer versions
Update default tag version to checkout v5,0.2 instead of the beta version
  • Loading branch information
michaelkrieger committed Jul 26, 2021
1 parent 6355514 commit e4c7172
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion BS-BUILD.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,15 @@ fi
docker start bsdev

# Update customizations and recompile changes
docker exec -ti -w /home/bootstrap/bootstrap/bootstrap bsdev bash -c "git reset --hard"
docker exec -ti -w /home/bootstrap/bootstrap/bootstrap bsdev bash -c "git pull --no-rebase"

# Update the 'starter' custom files
docker cp ./bootstrap.scss bsdev:/home/bootstrap/bootstrap/scss/bootstrap.scss
docker cp ./custom.scss bsdev:/home/bootstrap/bootstrap/scss/custom.scss
docker exec -ti -w /home/bootstrap/bootstrap/bootstrap bsdev bash -c "git pull --no-rebase"
docker cp ./package.json bsdev:/home/bootstrap/bootstrap/package.json

docker exec -ti -w /home/bootstrap/bootstrap bsdev bash -c "git checkout tags/v5.0.2"
docker exec -ti -w /home/bootstrap/bootstrap bsdev bash -c "npm run dist"

# Export Files to Host
Expand Down

0 comments on commit e4c7172

Please sign in to comment.