Skip to content

Commit

Permalink
Attempt to make build_packages run from other branches
Browse files Browse the repository at this point in the history
  • Loading branch information
mara004 committed Feb 25, 2023
1 parent 6d3a0ec commit 9ba583e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/build_packages.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
# SPDX-FileCopyrightText: 2023 geisserml <[email protected]>
# SPDX-License-Identifier: Apache-2.0 OR BSD-3-Clause

# NOTE only runs from main branch for now

name: Build Packages
on:
workflow_dispatch:
Expand Down
2 changes: 1 addition & 1 deletion setupsrc/pypdfium2_setup/autorelease.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ def log_changes(summary, prev_ns, curr_ns):


def register_changes(curr_ns):
run_local(["git", "checkout", "-B", "autorelease_tmp", "main"])
run_local(["git", "checkout", "-B", "autorelease_tmp"]) #, "origin/main"
run_local(["git", "add", AutoreleaseDir, VersionFile, Changelog, ChangelogStaging])
run_local(["git", "commit", "-m", "[autorelease] update changelog and version file"])
# NOTE the actually pushed tag will be a different one, but it's nevertheless convenient to have this here because of the changelog
Expand Down

0 comments on commit 9ba583e

Please sign in to comment.