Skip to content

Commit

Permalink
jar files are hosted at dl.digdag.io
Browse files Browse the repository at this point in the history
  • Loading branch information
frsyuki committed Feb 16, 2016
1 parent ac76ccf commit e9cea45
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions digdag-cli/src/main/java/io/digdag/cli/SelfUpdate.java
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public class SelfUpdate
extends Command
{
@Parameter(names = {"-e", "--endpoint"})
String endpoint = "https://digdag-beta-release.herokuapp.com";
String endpoint = "http://dl.digdag.io";

@Override
public void main()
Expand Down Expand Up @@ -120,7 +120,7 @@ public void selfUpdate(String version)
private static void verify(Path path, String expectedVersion)
throws IOException, InterruptedException
{
ProcessBuilder pb = new ProcessBuilder(path.toAbsolutePath().toString(), "--help");
ProcessBuilder pb = new ProcessBuilder(path.toAbsolutePath().toString(), "--version");
pb.redirectOutput(ProcessBuilder.Redirect.PIPE);
pb.redirectErrorStream(true);

Expand Down
2 changes: 1 addition & 1 deletion digdag-cli/src/main/resources/digdag/cli/digdag.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
if [ ! -f .digdag-wrapper/digdag.jar ]; then
echo "Downloading the latest digdag package..."
rm -f .digdag-wrapper/digdag.jar.downloading
curl --create-dirs -o .digdag-wrapper/digdag.jar.downloading -L "https://digdag-beta-release.herokuapp.com/digdag-latest.jar" `cat .digdag-wrapper/download-options`
curl --create-dirs -o .digdag-wrapper/digdag.jar.downloading -L "https://dl.digdag.io/digdag-latest.jar" `cat .digdag-wrapper/download-options`
if [ ! -f .digdag-wrapper/digdag.jar.downloading ]; then
echo "Download failed. You may need .digdag-wrapper/download-options file."
exit 1
Expand Down
2 changes: 1 addition & 1 deletion digdag-docs/src/getting_started.rst
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Getting started

.. code-block:: console
$ curl -u beta -o ~/bin/digdag -L "https://digdag-beta-release.herokuapp.com/digdag-latest"
$ curl -u beta -o ~/bin/digdag -L "https://dl.digdag.io/digdag-latest"
$ chmod +x ~/bin/digdag
If ``digdag --help`` command works, Digdag is installed successfully.
Expand Down

0 comments on commit e9cea45

Please sign in to comment.