devspace-sh / devspace

DevSpace - The Fastest Developer Tool for Kubernetes ⚡ Automate your deployment workflow with DevSpace and develop software directly inside Kubernetes.
https://devspace.sh
Apache License 2.0
4.22k stars 353 forks source link

install: make brew official installer (add VERSION etc.) #1085

Closed Addono closed 1 year ago

Addono commented 4 years ago

What happened?
image

What did you expect to happen instead?
That this would give me the version of devspace, as this is requested when opening a bug report.

How can we reproduce the bug? (as minimally and precisely as possible)
devspace --version

Local Environment:

/kind bug

LukasGentele commented 4 years ago

@Addono Did you install DevSpace via brew? That's a community maintained installer for DevSpace which unfortunately does not set the VERSION variable at build time. I've been meaning to add a PR to brew and make it an official installer for DevSpace but didn't work on this, yet.

Addono commented 4 years ago

Yeah, installed it using Brew.

carlmontanari commented 1 year ago

Looks like this has been sorted here

~
 ➜ brew install devspace
==> Homebrew is run entirely by unpaid volunteers. Please consider donating:
  https://github.com/Homebrew/brew#donations

==> Auto-updated Homebrew!
Updated 1 tap (homebrew/core).
==> New Formulae
rdb                                                                                            ripsecrets

==> Downloading https://ghcr.io/v2/homebrew/core/devspace/manifests/5.18.5
######################################################################## 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/devspace/blobs/sha256:e98e00b8e7de436cccc3417dcd9e74c7adf096352260f265a0ad06de61d16923
==> Downloading from https://pkg-containers.githubusercontent.com/ghcr1/blobs/sha256:e98e00b8e7de436cccc3417dcd9e74c7adf096352260f265a0ad06de61d16923?se=2022-08-19T16%3A35%3A00Z&sig=9xSY92v
######################################################################## 100.0%
==> Pouring devspace--5.18.5.x86_64_linux.bottle.tar.gz
🍺  /home/linuxbrew/.linuxbrew/Cellar/devspace/5.18.5: 5 files, 49.6MB
==> Running `brew cleanup devspace`...
Disable this behaviour by setting HOMEBREW_NO_INSTALL_CLEANUP.
Hide these hints with HOMEBREW_NO_ENV_HINTS (see `man brew`).
~
 ➜ devspace --version
devspace version 5.18.5
~
 ➜ brew info devspace
devspace: stable 5.18.5 (bottled), HEAD
CLI helps develop/deploy/debug apps with Docker and k8s
https://devspace.sh/
/home/linuxbrew/.linuxbrew/Cellar/devspace/5.18.5 (5 files, 49.6MB) *
  Poured from bottle on 2022-08-19 at 16:26:19
From: https://github.com/Homebrew/homebrew-core/blob/HEAD/Formula/devspace.rb
License: Apache-2.0
==> Dependencies
Build: go ✘
Required: kubernetes-cli ✔
==> Options
--HEAD
    Install HEAD version
==> Analytics
install: 509 (30 days), 1,716 (90 days), 7,940 (365 days)
install-on-request: 502 (30 days), 1,699 (90 days), 7,820 (365 days)
build-error: 0 (30 days)

Going to close since I believe we are good to go here, but feel free to reopen if I missed something!