Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions tests/test_nightly_release_template.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ def test_nightly_runs_full_package_and_publication_path(self) -> None:
self.assertIn("gh release create nightly", content)
self.assertIn("nextcloud-libraries/nextcloud-appstore-push-action@", content)
self.assertIn("nightly: true", content)
self.assertIn("printf 'Automated nightly build from `%s`.", content)
self.assertIn("printf 'Generated from commit `%s`.", content)

def test_checkout_credentials_are_not_persisted(self) -> None:
content = TEMPLATE.read_text(encoding="utf-8")
Expand Down
4 changes: 2 additions & 2 deletions workflow-templates/nightly-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ jobs:
{
echo "## 🌙 Nightly Build - ${APP_VERSION}"
echo
echo "Automated nightly build from `${NIGHTLY_BRANCH}`."
printf 'Automated nightly build from `%s`.\\n' "${NIGHTLY_BRANCH}"
echo
echo "⚠️ **Development version** - may contain bugs or unstable features."
echo
Expand All @@ -260,7 +260,7 @@ jobs:
printf '%s\n' "${commits}"
echo
echo "---"
echo "Generated from commit `${GITHUB_SHA:0:7}`."
printf 'Generated from commit `%s`.\\n' "${GITHUB_SHA:0:7}"
} > release-notes.md

- name: Create or update GitHub release
Expand Down
Loading