mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Remove conditional or from latest release var
This commit is contained in:
parent
6e503e9b7c
commit
b4dd6c8a26
1 changed files with 2 additions and 4 deletions
|
@ -45,10 +45,8 @@ project = "Salt"
|
|||
# This is the default branch on GitHub for the Salt project
|
||||
repo_primary_branch = "master"
|
||||
latest_release = (
|
||||
os.environ.get("LATEST_RELEASE")
|
||||
or
|
||||
# The next unreleased version
|
||||
str(salt.version.__saltstack_version__.major)
|
||||
# Use next unreleased version if LATEST_RELEASE is undefined env var
|
||||
os.environ.get("LATEST_RELEASE", str(salt.version.__saltstack_version__.major))
|
||||
) # latest release (3003)
|
||||
previous_release = os.environ.get(
|
||||
"PREVIOUS_RELEASE", "previous_release"
|
||||
|
|
Loading…
Add table
Reference in a new issue