glab release create against self-hosted erroneously reports creation on gitlab.com url

Checklist

  • I'm using the latest version of the extension (Run glab --version)
    • Extension version: glab version 1.35.0 (2023-11-01)
  • Operating system and version: Darwin Kernel Version 23.1.0: Mon Oct 9 21:27:24 PDT 2023; root:xnu-10002.41.9~6/RELEASE_ARM64_T6000 arm64
  • Gitlab.com or self-managed instance? self-managed instance/both
  • GitLab version (if self-managed)
    {
      "version": "16.6.1",
      "revision": "21d8cc00343",
      "kas": {
        "enabled": true,
        "externalUrl": "wss://REDACTED/-/kubernetes-agent/",
        "version": "v16.6.0"
      },
      "enterprise": false
    }
  • I have performed glab auth status to check for authentication issues
REDACTED.com
  ✓ Logged in to REDACTED.com as icooke (/Users/icooke/.config/glab-cli/config.yml)
  ✓ Git operations for REDACTED.com configured to use ssh protocol.
  ✓ API calls for REDACTED.com are made over https protocol
  ✓ REST API Endpoint: https://REDACTED.com/api/v4/
  ✓ GraphQL Endpoint: https://REDACTED.com/api/graphql/
  ✓ Token: **************************

Summary

Environment

  • OS: Darwin 23.1.0 arm64
  • SHELL: /bin/zsh
  • TERM: xterm-256color
  • GLAB: glab version 1.35.0 (2023-11-01)

Steps to reproduce

Run glab release create against a self-hosted instance

What is the current bug behavior?

% glab release create v31.2 -F release_notes_v31.2.md
• Validating tag v31.2
• Tag does not exist.
• No ref was provided. Tag will be created from the latest state of the default branch
• using default branch "main" as ref

• Creating or updating release repo=GROUP/PROJECT tag=v31.2
✓ Release created    url=https://gitlab.com/GROUP/PROJECT/-/releases/v31.2
✓ Release succeeded after 0.59s

What is the expected correct behavior?

✓ Release created url=https://REDACTED.com/GROUP/PROJECT/-/releases/v31.2

Possible fixes

?

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information