mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
add nightly symlink
This commit is contained in:
parent
c7d7454056
commit
cdf020c5c5
1 changed files with 5 additions and 1 deletions
|
@ -522,7 +522,11 @@ def rpm(
|
|||
|
||||
_create_repo_file(repo_file_path, f"minor/{salt_version}")
|
||||
|
||||
if not nightly_build_from:
|
||||
if nightly_build_from:
|
||||
nightly_link = create_repo_path.parent / "nightly"
|
||||
ctx.info(f"Creating '{nightly_link.relative_to(repo_path)}' symlink ...")
|
||||
nightly_link.symlink_to(f"minor/{salt_version}")
|
||||
else:
|
||||
remote_versions = _get_remote_versions(
|
||||
tools.utils.STAGING_BUCKET_NAME,
|
||||
create_repo_path.parent.relative_to(repo_path),
|
||||
|
|
Loading…
Add table
Reference in a new issue