Skip to content
This repository has been archived by the owner on May 12, 2021. It is now read-only.

Commit

Permalink
APEXCORE-469 fix fetch-releases script to work with new dist structure
Browse files Browse the repository at this point in the history
  • Loading branch information
deanlockgaard committed Apr 5, 2017
1 parent a81342e commit c88c954
Show file tree
Hide file tree
Showing 4 changed files with 192 additions and 135 deletions.
10 changes: 3 additions & 7 deletions README.md
Expand Up @@ -107,12 +107,8 @@ This way you make your change and refresh the page to see the effect immediately
Updating Downloads Page
-----------------------

The instructions below to automatically update releases are currently broken: APEXCORE-469

Until that is resolved, update the file manually. To find the release date, use `git cat-file tag <tagname>`

The downloads page uses the content of `./releases.json` to populate the tables found there.
Care has been taken to automatically generate this releases.json file. To do so, run:
Care has been taken to automatically generate this `releases.json` file. To do so, run:

```bash
./node_modules/.bin/gulp fetch-releases
Expand All @@ -122,9 +118,9 @@ git commit -m 'updated releases'

This will do the following things:

1. Parses out the release versions available via the [ASF dist pages](https://dist.apache.org/repos/dist/release/incubator/apex).
1. Parses out the release versions available via the [ASF dist pages](https://dist.apache.org/repos/dist/release/apex).
2. Queries Github for these found release tags to find the date they were published to github
3. Writes to releases.json with release information.
3. Writes to `releases.json` with release information.


Once you have committed the changes to `releases.json`, follow the steps to contributing steps to publish the site to go live.
Expand Down

0 comments on commit c88c954

Please sign in to comment.