Skip to content

Commit

Permalink
Re-fix nightly builds
Browse files Browse the repository at this point in the history
  • Loading branch information
wawanbreton committed Nov 3, 2023
1 parent 572099f commit b229106
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/installers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -280,13 +280,13 @@ jobs:
import datetime
from jinja2 import Template
with open(".github/workflows/release-notes.md.jinja", "r") as f:
with open(".github/workflows/release_notes.md.jinja", "r") as f:
release_notes = Template(f.read())
current_nightly_beta = "${{ needs.default-values.outputs.release_tag }}".split("nightly-")[-1]
with open("release-notes.md", "w") as f:
f.write(release_notes.render(
timestamp=${{ steps.filename.outputs.NIGHTLY_TIME }},
timestamp="${{ steps.filename.outputs.NIGHTLY_TIME }}",
branch="" if ${{ needs.default-values.outputs.release_tag == 'nightly' }} else current_nightly_beta,
branch_specific="" if os.getenv("GITHUB_REF") == "refs/heads/main" else f"?branch={current_nightly_beta}",
))
Expand Down

0 comments on commit b229106

Please sign in to comment.