Skip to content

Conversation

@shijin-aws
Copy link
Contributor

@shijin-aws shijin-aws commented Nov 25, 2025

It is a workflow that automates the release process

Expected Workflow

Trigger:

  1. Create a PR with the release label
  2. Merge the PR

Automatic Actions:

  1. Extract Version - Reads version from configure.ac AC_INIT line (e.g., 2.4.0a1)
  2. Build - Runs ./autogen.sh, ./configure, make dist to create tarballs
  3. Generate Checksums - Calculates SHA256 and MD5 sums for all .tar.gz and .tar.bz2 files
  4. Create Draft Release - Creates GitHub draft release with:
    • Tag: Version from configure.ac (e.g., 2.4.0a1)
    • Title: "Libfabric 2.4.0a1"
    • Body: Official OFIWG announcement text + checksums + PR description
    • Assets: Both .tar.gz and .tar.bz2 files

Result:

A professional libfabric draft release page matching the official OFIWG format with checksums and downloadable tarballs, ready for manual publishing.

Usage:

  1. Update version in configure.ac if needed
  2. Add the release label to any PR
  3. Merge the PR
  4. Review the generated draft release
  5. Manually publish when ready

@shijin-aws shijin-aws marked this pull request as draft November 25, 2025 00:32
Comment on lines +23 to +27
- name: Build libfabric
run: |
./autogen.sh
./configure
make dist
Copy link
Contributor

Choose a reason for hiding this comment

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

Need to build fabtests as well.

Comment on lines +32 to +34
echo "sha256_sums<<EOF" >> $GITHUB_OUTPUT
sha256sum libfabric-*.tar.* >> $GITHUB_OUTPUT
echo "EOF" >> $GITHUB_OUTPUT
Copy link
Contributor

Choose a reason for hiding this comment

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

We have been using sha512sum for prior releases.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants