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
7 changes: 4 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,16 +101,17 @@ jobs:

draft-release:
name: Draft a release or/and check the release
needs: [ determine-package, publish ]
needs: [ determine-package ]
runs-on: ubuntu-slim
if: ${{ startsWith(github.ref, 'refs/tags/') && github.event_name != 'workflow_dispatch' }}
permissions:
contents: write
env:
TAG: ${{ needs.determine-package.outputs.package }}/${{ needs.determine-package.outputs.version }}
GH_TOKEN: ${{ github.token }}
steps:
- uses: actions/checkout@v6
- name: Draft a release.
env:
GH_TOKEN: ${{ github.token }}
run: gh release create ${TAG} --draft --title ${TAG} # Default title is not always the tag name.
continue-on-error: true # Release create can fail if there is an existing release.
- name: Check the release.
Expand Down
9 changes: 0 additions & 9 deletions tools/collect-release-notes.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,15 +116,6 @@ def has_label(label: str, pr: PRDescription) -> bool:
[f"* {relevant_log}" for relevant_log in maybe_relevant_logs]
)

release_note.extend(
[
'',
'',
f"**Full Changelog**: https://github.com/scipp/ess/compare/{compare_tag}...{cur_tag}",
'',
]
)

Comment on lines -119 to -127

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The compare tags container too many unrelated commits so we decided to remove it for now.

if hasattr(args, 'output_file_path') and args.output_file_path:
output_file_path = pathlib.Path(args.output_file_path)
else:
Expand Down