mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Fix bad logic when building the repository path
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
This commit is contained in:
parent
af7c525489
commit
e17279d9d2
1 changed files with 2 additions and 2 deletions
|
@ -1269,7 +1269,7 @@ def github(
|
|||
release_message = f"""\
|
||||
# Welcome to Salt v{salt_version}
|
||||
|
||||
| :exclamation: ATTENTION |
|
||||
| :exclamation: ATTENTION |
|
||||
|:-------------------------------------------------------------------------------------------------------------------------|
|
||||
| The archives generated by GitHub(`Source code(zip)`, `Source code(tar.gz)`) will not report Salt's version properly. |
|
||||
| Please use the tarball generated by The Salt Project Team(`salt-{salt_version}.tar.gz`).
|
||||
|
@ -1777,7 +1777,7 @@ def _create_repo_path(
|
|||
create_repo_path = repo_path
|
||||
if nightly_build:
|
||||
create_repo_path = create_repo_path / "salt-dev"
|
||||
elif nightly_build:
|
||||
elif rc_build:
|
||||
create_repo_path = create_repo_path / "salt_rc"
|
||||
create_repo_path = create_repo_path / "salt" / "py3" / distro
|
||||
if distro_version:
|
||||
|
|
Loading…
Add table
Reference in a new issue