8000 update release process to support multiple version by nickfyson · Pull Request #2014 · github/codeql-action · GitHub
[go: up one dir, main page]

Skip to content

update release process to support multiple version #2014

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

Merged
merged 9 commits into from
Dec 7, 2023
Prev Previous commit
Next Next commit
remove unused function
  • Loading branch information
nickfyson committed Dec 6, 2023
commit 57932be6d40f2cd95e2c7b6690bea3b6e58762cf
10 changes: 0 additions & 10 deletions .github/actions/release-branches/release-branches.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,6 @@

OLDEST_SUPPORTED_MAJOR_VERSION = 2

# Runs git with the given args and returns the stdout.
# Raises an error if git does not exit successfully (unless passed
# allow_non_zero_exit_code=True).
def run_git(*args, allow_non_zero_exit_code=False):
cmd = ['git', *args]
p = subprocess.run(cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
if not allow_non_zero_exit_code and p.returncode != 0:
raise Exception(f'Call to {" ".join(cmd)} exited with code {p.returncode} stderr: {p.stderr.decode("ascii")}.')
return p.stdout.decode('ascii')

def main():

parser = argparse.ArgumentParser()
Expand Down
0