Skip to content
This repository has been archived by the owner on Jun 1, 2020. It is now read-only.

Releases: cdnjs/buildScript

Bug fix

27 Dec 06:50
Compare
Choose a tag to compare
Bug fix Pre-release
Pre-release

In v0.0.4 pre-release, builtScript start to use timelimit to call commands to have a timeout limit, but for shell built-in commands, it may cause unexpected behavior, like cd didn't really change the working directory for the current running shell, so I add a function to determinate if a command is built-in or not, then decide if use timelimit to call it or not.

v0.0.4 pre-release, much closer to v1.0.0

26 Dec 12:32
Compare
Choose a tag to compare

Enhance:

  • separate "error()" to handle error msg
  • use "run()" to handle general cmds with error msg
  • show total time spent for each build
  • show start and end datetime locally
  • print repo path when not found
  • add timeout support, default=600 secs, close #16
  • handle submodule update/initial, fix #14
  • add new file GitHub.repos.meta.json in artifacts
  • do npm update after npm install
  • run npm test before building the meta data/artifacts
  • set finish message to "Success" level
  • write callee command to log
  • add $logPath to save logfile at custom path, cc #6
  • add $logMode to decide clean the log or not, cc #6

Fixes:

  • adj repository reset / pull / fetch order, cc cdnjs/cdnjs#5564
  • should reset website repo before building artifact

Adjustment:

  • update var name in config
  • update npm install behavior
  • update meta branch rebase behavior

Documentation:

  • Update readme.md

And some minor bug fixes and adjustments.

v0.0.3. A big step, closer to the stable release.

30 Aug 08:44
Compare
Choose a tag to compare

Enhance:

  • write log file with datetime stamp
  • set nice to 15 in build.sh for cronjob
  • separate configs into config.sh
  • open issue on GitHub if got error
  • use new function output to integrate output
  • use env to determine bash path
  • set e for shell, exit immediately and sending error message when getting error
  • use colorEcho as submodule
  • do npm install if need

Fixes:

  • fix path issue
  • fix wrong condition on api key checking
  • Prevent curl break the whole build process, fix #5
  • forgot to push to GitHub(origin) when update website only
  • should add force option for rm

Adjustment:

  • default not push "meta" branch on GitHub
  • do not hide output from update-website.sh in build.sh
  • adjust/add gitter message
  • change website push order

Documentation:

  • add comment in build.sh
  • update readme.md

And some minor bug fix and adjustment.

Update

30 Aug 08:34
Compare
Choose a tag to compare
Update Pre-release
Pre-release
  • add gitter webhook
  • update wording
  • fix typo

First release

30 Aug 08:31
Compare
Choose a tag to compare
First release Pre-release
Pre-release
0.0.1

lazy error catching xD