cloudstorm / open-angular-crud

Open Angular Crud is an AngularJS library that automatically creates administration and data manipulation (CRUD) screens from database descriptors
MIT License
6 stars 0 forks source link

Introduce versioning on cdn #98

Closed bence-nagy closed 6 years ago

bence-nagy commented 6 years ago

The latest cloudstorm.js and css files should be available without version postfix (the currently used https://s3.amazonaws.com/cloudstorm-cdn/cloudstorm.js and https://s3.amazonaws.com/cloudstorm-cdn/cloudstorm.css links should always point to the latest version), but every released version should be available at the following urls: https://s3.amazonaws.com/cloudstorm-cdn/cloudstorm-[version}.css https://s3.amazonaws.com/cloudstorm-cdn/cloudstorm-[version].js where [version] is in the same format as in the package.json file (e.g.: 0.0.15, so for example the https://s3.amazonaws.com/cloudstorm-cdn/cloudstorm-0.0.15.js url should point to the 0.0.15 version of the cloudstorm js library)

To achieve this the grunt file should be extended to create versioned files as well as the current files.

No old versions should be generated, this change is for future releases only.