fix naming of ci things for rebrand
This commit is contained in:
parent
a93dc48e17
commit
2561a4ac2c
|
@ -31,7 +31,7 @@ jobs:
|
||||||
run: npm install
|
run: npm install
|
||||||
|
|
||||||
- name: Download oxend binaries
|
- name: Download oxend binaries
|
||||||
run: ./download-oxen-bins.sh
|
run: ./download-release-bins.sh
|
||||||
env:
|
env:
|
||||||
OS: ${{ runner.os }}
|
OS: ${{ runner.os }}
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
|
@ -30,7 +30,7 @@ jobs:
|
||||||
run: npm install
|
run: npm install
|
||||||
|
|
||||||
- name: Download oxend binaries
|
- name: Download oxend binaries
|
||||||
run: ./download-oxen-bins.sh
|
run: ./download-dev-bins.sh
|
||||||
env:
|
env:
|
||||||
OS: ${{ runner.os }}
|
OS: ${{ runner.os }}
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|
|
@ -30,7 +30,7 @@ jobs:
|
||||||
run: npm install
|
run: npm install
|
||||||
|
|
||||||
- name: Download oxend binaries
|
- name: Download oxend binaries
|
||||||
run: ./download-oxen-bins.sh
|
run: ./download-release-bins.sh
|
||||||
env:
|
env:
|
||||||
OS: ${{ runner.os }}
|
OS: ${{ runner.os }}
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
|
@ -12,11 +12,11 @@ if [ -z "$RENAME" ]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$OS" == "Linux" ]; then
|
if [ "$OS" == "Linux" ]; then
|
||||||
ASSET_URL="https://oxen.rocks/loki-project/loki-core/loki-dev-linux-LATEST.tar.xz"
|
ASSET_URL="https://oxen.rocks/oxen-io/loki-core/oxen-dev-linux-LATEST.tar.xz"
|
||||||
elif [ "$OS" == "Windows" ]; then
|
elif [ "$OS" == "Windows" ]; then
|
||||||
ASSET_URL="https://oxen.rocks/loki-project/loki-core/loki-dev-win-LATEST.zip"
|
ASSET_URL="https://oxen.rocks/oxen-io/loki-core/oxen-dev-win-LATEST.zip"
|
||||||
elif [ "$OS" == "macOS" ]; then
|
elif [ "$OS" == "macOS" ]; then
|
||||||
ASSET_URL="https://oxen.rocks/loki-project/loki-core/loki-dev-macos-LATEST.tar.xz"
|
ASSET_URL="https://oxen.rocks/oxen-io/loki-core/oxen-dev-macos-LATEST.tar.xz"
|
||||||
else
|
else
|
||||||
echo "OS must be Linux, Windows or macOS"
|
echo "OS must be Linux, Windows or macOS"
|
||||||
exit 1
|
exit 1
|
||||||
|
|
|
@ -1,34 +0,0 @@
|
||||||
#!/bin/bash
|
|
||||||
|
|
||||||
# THIS IS TEMPORARY. TO BE REMOVED ONCE OXEN STUFF IS IN STABLE ON LOKI/OXEN CORE
|
|
||||||
|
|
||||||
set -e
|
|
||||||
|
|
||||||
if [ -z "$OS" ]; then
|
|
||||||
echo "OS must be set"
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [ -z "$RENAME" ]; then
|
|
||||||
RENAME="latest"
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [ "$OS" == "Linux" ]; then
|
|
||||||
ASSET_URL="https://oxen.rocks/loki-project/loki-core/oxen-stable-linux-LATEST.tar.xz"
|
|
||||||
elif [ "$OS" == "Windows" ]; then
|
|
||||||
ASSET_URL="https://oxen.rocks/loki-project/loki-core/oxen-stable-win-LATEST.zip"
|
|
||||||
elif [ "$OS" == "macOS" ]; then
|
|
||||||
ASSET_URL="https://oxen.rocks/loki-project/loki-core/oxen-stable-macos-LATEST.tar.xz"
|
|
||||||
else
|
|
||||||
echo "OS must be Linux, Windows or macOS"
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
|
|
||||||
echo "About to download the binaries"
|
|
||||||
|
|
||||||
curl -sL --fail \
|
|
||||||
-H "Accept: application/octet-stream" \
|
|
||||||
-o "${RENAME}" \
|
|
||||||
"$ASSET_URL"
|
|
||||||
|
|
||||||
echo "Oxen binaries downloaded"
|
|
|
@ -12,7 +12,7 @@ if [ -z "$RENAME" ]; then
|
||||||
RENAME="latest"
|
RENAME="latest"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
REPO="loki-project/loki-core"
|
REPO="oxen-io/oxen-core"
|
||||||
RELEASE="latest"
|
RELEASE="latest"
|
||||||
|
|
||||||
if [ "$OS" == "Linux" ]; then
|
if [ "$OS" == "Linux" ]; then
|
Loading…
Reference in New Issue