https://github.com/ember-cli/ember-source-channel-url
https://github.com/ember-cli/ember-source-channel-url
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/ember-cli/ember-source-channel-url
- Owner: ember-cli
- Created: 2018-01-13T03:31:28.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2023-02-03T11:54:38.000Z (almost 3 years ago)
- Last Synced: 2025-06-19T15:02:15.968Z (7 months ago)
- Language: JavaScript
- Size: 480 KB
- Stars: 10
- Watchers: 7
- Forks: 6
- Open Issues: 15
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
# ember-source-channel-url
Retrieve a URL that can be used to reference a tarball representing the latest
`ember-source` build for that channel.
## Usage
### Command Line API
```
npx ember-source-channel-url canary
```
Will print out:
```sh
The URL for the latest tarball from ember-source's canary channel is:
https://s3.amazonaws.com/builds.emberjs.com/canary/shas/.tgz
```
If you'd like to update `ember-source` in your `package.json` with the new URL, you can use the `--write` option:
```
npx ember-source-channel-url canary --write
```
### Programmatic API
```js
const getURLFor = require('ember-source-channel-url');
getURLFor('canary').then((url) => {
// use the URL here
});
```