Skip to content

Commit 7e954e1

Browse files
committed
fix(ci): update repo references from davidviejo/temps to gotempsh/temps
Install script and Homebrew formula template pointed to the wrong GitHub repo, causing 404s on download.
1 parent 21da329 commit 7e954e1

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

scripts/homebrew-formula.rb.template

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
class Temps < Formula
22
desc "Temps - Modern deployment platform for web applications"
3-
homepage "https://github.com/davidviejo/temps"
3+
homepage "https://github.com/gotempsh/temps"
44
version "{{VERSION}}"
55
license "MIT OR Apache-2.0"
66

77
on_macos do
88
if Hardware::CPU.arm?
9-
url "https://github.com/davidviejo/temps/releases/download/v{{VERSION}}/temps-darwin-arm64.tar.gz"
9+
url "https://github.com/gotempsh/temps/releases/download/v{{VERSION}}/temps-darwin-arm64.tar.gz"
1010
sha256 "{{SHA256_DARWIN_ARM64}}"
1111

1212
def install
1313
bin.install "temps"
1414
end
1515
else
16-
url "https://github.com/davidviejo/temps/releases/download/v{{VERSION}}/temps-darwin-amd64.tar.gz"
16+
url "https://github.com/gotempsh/temps/releases/download/v{{VERSION}}/temps-darwin-amd64.tar.gz"
1717
sha256 "{{SHA256_DARWIN_AMD64}}"
1818

1919
def install
@@ -24,7 +24,7 @@ class Temps < Formula
2424

2525
on_linux do
2626
if Hardware::CPU.intel?
27-
url "https://github.com/davidviejo/temps/releases/download/v{{VERSION}}/temps-linux-amd64.tar.gz"
27+
url "https://github.com/gotempsh/temps/releases/download/v{{VERSION}}/temps-linux-amd64.tar.gz"
2828
sha256 "{{SHA256_LINUX_AMD64}}"
2929

3030
def install

scripts/install.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ esac
8282

8383
GITHUB=${GITHUB-"https://github.com"}
8484

85-
github_repo="$GITHUB/davidviejo/temps"
85+
github_repo="$GITHUB/gotempsh/temps"
8686

8787
exe_name=temps
8888

@@ -92,17 +92,17 @@ if [[ $# = 0 ]]; then
9292

9393
# Temporarily disable pipefail to handle API errors gracefully
9494
set +e
95-
temps_tag=$(curl --silent "https://api.github.com/repos/davidviejo/temps/releases/latest" |
95+
temps_tag=$(curl --silent "https://api.github.com/repos/gotempsh/temps/releases/latest" |
9696
grep '"tag_name":' |
9797
sed -E 's/.*"([^"]+)".*/\1/' 2>/dev/null)
9898
set -e
9999

100100
if [[ -z "$temps_tag" ]]; then
101101
echo ""
102102
error "No releases found. Please specify a version explicitly:
103-
curl -fsSL https://raw.githubusercontent.com/davidviejo/temps/main/scripts/install.sh | bash -s v0.1.0
103+
curl -fsSL https://raw.githubusercontent.com/gotempsh/temps/main/scripts/install.sh | bash -s v0.1.0
104104
105-
Or check available versions at: https://github.com/davidviejo/temps/releases"
105+
Or check available versions at: https://github.com/gotempsh/temps/releases"
106106
fi
107107

108108
info "Latest version: $temps_tag"

0 commit comments

Comments
 (0)