Skip to content

Commit b17908f

Browse files
jkutnerkylef
authored andcommitted
docs: Add Heroku Registry information (#41)
1 parent d9fa66d commit b17908f

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

README.md

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Example usage:
1313
$ ls
1414
Procfile Package.swift Sources
1515

16-
$ heroku create --buildpack https://github.com/kylef/heroku-buildpack-swift.git
16+
$ heroku create --buildpack kyle/swift
1717

1818
$ git push heroku master
1919
remote: -----> Swift app detected
@@ -26,7 +26,7 @@ remote: -----> Copying binaries to 'bin'
2626
You can also add it to upcoming builds of an existing application:
2727

2828
```shell
29-
$ heroku buildpacks:set https://github.com/kylef/heroku-buildpack-swift.git
29+
$ heroku buildpacks:set kyle/swift
3030
```
3131

3232
The buildpack will detect your app as Swift if it has a `Package.swift` file in
@@ -67,3 +67,11 @@ source code inside the following files in your repository:
6767
- `bin/post_compile`
6868

6969
This is useful if you would need to install any other dependencies.
70+
71+
## Using the latest buildpack code
72+
73+
The `kyle/swift` buildpack from the [Heroku Registry](https://devcenter.heroku.com/articles/buildpack-registry) represents the latest stable version of the buildpack. If you'd like to use the latest buildpack code from this Github repository, you can set your buildpack to the Github URL:
74+
75+
```sh-session
76+
$ heroku buildpacks:set https://github.com/kylef/heroku-buildpack-swift
77+
```

0 commit comments

Comments
 (0)