Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Telegram hook on the release sends a link to the tag, not to the release #19688

Closed
dav-sea opened this issue May 12, 2022 · 0 comments · Fixed by #19830
Closed

Telegram hook on the release sends a link to the tag, not to the release #19688

dav-sea opened this issue May 12, 2022 · 0 comments · Fixed by #19830
Labels
good first issue Likely to be an easy fix type/bug

Comments

@dav-sea
Copy link

dav-sea commented May 12, 2022

Description

When creating a release in repo, the telegram bot sends the following message:

[{owner}/{repo}] Release created: {release_title} by {publisher}

A link is added to {release_title} : https://{base_url}/{owner}/{repo}/src/{tag_name}
This is a link to the tag although a link to the release was expected: https://{base_url}/{owner}/{repo}/releases/tag/{tag_name}

Gitea Version

1.16.5

Can you reproduce the bug on the Gitea demo site?

No

Log Gist

No response

Screenshots

No response

Git Version

No response

Operating System

Windows 10

How are you running Gitea?

APP_NAME = <hidden>
RUN_USER = <hidden>
RUN_MODE = prod

[database]
DB_TYPE  = postgres
HOST     = <hidden>
NAME     = <hidden>
USER     = <hidden>
PASSWD   = <hidden>
SCHEMA   = 
SSL_MODE = <hidden>
CHARSET  = <hidden>
PATH     = <hidden>
LOG_SQL  = false

[repository]
ROOT = <hidden>
DEFAULT_PRIVATE = private
DEFAULT_BRANCH = master

[server]
SSH_DOMAIN       = <hidden>
DOMAIN           = <hidden>
ROOT_URL         = <hidden>
HTTP_PORT        = <hidden>
DISABLE_SSH      = false
SSH_PORT         = 22
LFS_START_SERVER = true
LFS_CONTENT_PATH = <hidden>
LFS_JWT_SECRET   = <hidden>
OFFLINE_MODE     = false
LANDING_PAGE = login
LFS_MAX_FILE_SIZE = 2147483648

[lfs]
STORAGE_TYPE = local
PATH = <hidden>

[ui]
ISSUE_PAGING_NUM = 30

[attachment]
PATH = <hidden>
MAX_SIZE = 2048
MAX_FILES = 6

[mailer]
ENABLED = false

[service]
REGISTER_EMAIL_CONFIRM            = false
ENABLE_NOTIFY_MAIL                = false
DISABLE_REGISTRATION              = true
ALLOW_ONLY_EXTERNAL_REGISTRATION  = false
ENABLE_CAPTCHA                    = false
REQUIRE_SIGNIN_VIEW               = true
DEFAULT_KEEP_EMAIL_PRIVATE        = false
DEFAULT_ALLOW_CREATE_ORGANIZATION = false
DEFAULT_ENABLE_TIMETRACKING       = true
NO_REPLY_ADDRESS                  = noreply.localhost
DEFAULT_USER_VISIBILITY = private

[picture]
DISABLE_GRAVATAR        = false
ENABLE_FEDERATED_AVATAR = true

[openid]
ENABLE_OPENID_SIGNIN = false
ENABLE_OPENID_SIGNUP = false

[session]
PROVIDER = file

[log]
MODE      = console
LEVEL = INFO
ROOT_PATH = <hidden>
ROUTER    = console
STACKTRACE_LEVEL = Error

[git.timeout]
DEFAULT = 18000
MIGRATE = 86400
MIRROR  = 7200
CLONE   = 18000
PULL    = 18000
GC      = 30

[security]
INSTALL_LOCK       = true
INTERNAL_TOKEN     = <hidden>
PASSWORD_HASH_ALGO = <hidden>

Database

PostgreSQL

@techknowlogick techknowlogick added the good first issue Likely to be an easy fix label May 12, 2022
@go-gitea go-gitea locked and limited conversation to collaborators May 3, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
good first issue Likely to be an easy fix type/bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants