5 Commits

Author SHA1 Message Date
David Collins
9609771e72 Decoupled NPM and Artifactory release assets
- Eliminates the dependency between the NPM package contents and the assets published to Artifactory
- Ensures that the images.zip archive is published to Artifactory
- The WorldWind website's Web Get Started page contains a reference to the images.zip archive on Artifactory
2017-11-17 18:11:49 -08:00
Zach Glueckert
4f01ec1ab1 Publish dist folder contents to GitHub releases (#288)
* Add creation and deployment task of a zipped dist folder for GitHub releases

* Add comment describing script functionality

* Fix indentation

* Change compression task to use grunt plugin instead of bash script

* Add build folder to store all assets generated during build process
- Redirect test output to build folder
- Redirect dist folder output to build folder
- Redirect dist archive generation to build folder
- Add version name to dist archive
- Update WebStorm directory exclusion

* Fix api docs path in deployment task

* Fix untar operation to remove extra `build` directory

* Fix file location of CHANGELOG
2017-11-09 14:01:30 -08:00
Zach Glueckert
d7f8171690 Create distribution folder for generated assets (#281)
* Modify build script to write build artifacts to distribution directory
- Deposit other client consumable assets in the distribution directory
- See #280

* Remove unnecessary escape on file match

* Add clean task

* Simplify task structure

* Fix Artifactory deployment path

* Remove asset publishing directory from clean task

* Add npm clean task

* WebStorm configuration change to ignore distribution folder

* Add test-results folder as a clean target
2017-11-08 10:11:32 -08:00
Zach Glueckert
b35c51bc12 Publish npm assets to Artifactory (#237)
* Add initial file upload capability

* Refactor function naming and structure

* Add checksum validation and deployment of assets
- Deploys via checksum and on asset not being found reverts to normal file deployment

* Change to production repository target

* Refactor to remove deploy by checksum and remove async tasks

* Add windows path separator conversion to unix style in options object
- Refactor documentation and ordering

* Combine and refactor functions to reduce complexity

* Add deployment to a "latest" version on the server

* Change deployment repository to production name "web"

* Utilize TRAVIS_TAG for deployment path
- Remove limitation for it to be tagged version (starts with v)

* Fix travis environment variable name

* Refactor asset generation and deployment to different functions

* Change to predefined asset deployment directory
- File naming updates to describe functionality
- Add new predefined directories to .gitignore

* Remove extra carriage return

* Add Artifactory deployment assets to npmignore

* Remove unused npm development package

* Remove unused npm package declaration

* Refactor script naming

* Change Artifactory api key environment variable name

* Refactor initialize function inline and function ordering

* Refactor failure modes and logging

* Update documentation

* Refactor travis commands to script

* Rename scripts

* Refactor deployment function to be more generic
- Closes #244
- Changes input arguments to be more generic
- Adds protections for resolving the target path name given any source directory format (e.g. ./assetsToPath or assetsToPath/ or full path)

* Clean up command options and path formats

* Capture npm pack filename output for use in tarball extraction

* Change to join vs normalize for path construction

* Fix join syntax

* Remove attempted Windows path fix
2017-10-24 11:31:53 -07:00
Zach Glueckert
216bc0786d Add npm publishing capability (#215)
- Update package.json to reflect this is a public project as required by Travis CI
- Add CHANGELOG generation script
- Add travis npm publishing task
- Add travis CHANGELOG generation task
- Add travis CHANGELOG publishing to GitHub task
2017-09-08 12:10:09 -07:00