Skip to content

Commit 55bcb5b

Browse files
committed
chore: change install.sh env
1 parent 2fb9fe5 commit 55bcb5b

File tree

2 files changed

+31
-2
lines changed

2 files changed

+31
-2
lines changed

.github/workflows/release.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# name: Build and release (macOS)
2+
3+
# on:
4+
# push:
5+
# tags:
6+
# - "v*"
7+
8+
# jobs:
9+
# build-macos:
10+
# runs-on: macos-latest
11+
12+
# steps:
13+
# - name: Checkout code
14+
# uses: actions/checkout@v4
15+
16+
# - name: Install Rust
17+
# uses: dtolnay/rust-toolchain@stable
18+
19+
# - name: Build bundle
20+
# run: |
21+
# chmod +x scripts/bundler.sh
22+
# ./scripts/bundler.sh
23+
24+
# - name: Upload artifact to release
25+
# uses: softprops/action-gh-release@v1
26+
# with:
27+
# files: dist/tiles-v*-x86_64-darwin.tar.gz
28+
# env:
29+
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
30+

scripts/install.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/usr/bin/env bash
22
set -euo pipefail
33

4-
ENV="dev" # prod is another env, try taking it from github env
4+
ENV="prod" # prod is another env, try taking it from github env
55
REPO="tilesprivacy/tilekit"
66
# VERSION="${TILES_VERSION:-latest}"
77
VERSION="0.1.0"
@@ -39,7 +39,6 @@ fi
3939
log "⬇️ Downloading Tiles (${VERSION}) for ${ARCH}-${OS}..."
4040

4141

42-
4342
if [[ "$ENV" == "prod" ]]; then
4443
TAR_URL="https://github.com/${REPO}/releases/download/${VERSION}/tiles-v${VERSION}-${ARCH}-${OS}.tar.gz"
4544
curl -fsSL -o "${TMPDIR}/tiles.tar.gz" "$TAR_URL"

0 commit comments

Comments
 (0)