Skip to content

Add attestation to releases#170

Open
David Elner (delner) wants to merge 4 commits into
mainfrom
ci/attestation
Open

Add attestation to releases#170
David Elner (delner) wants to merge 4 commits into
mainfrom
ci/attestation

Conversation

@delner
Copy link
Copy Markdown
Collaborator

This pull request further overhauls the release process by:

  • Releases must be initiated by targeting a specific SHA
  • Richer notifications, review details/links, warnings when SHA isn't on main
  • Adding a dry-run mode (for testing, generating release notes in advance)
  • Adding attestation

\"text\": \":white_check_mark: *braintrust-sdk-ruby $TAG* has been published to RubyGems.\"
}"
-H "Content-Type: application/json; charset=utf-8" \
-d "{\"channel\": \"$SLACK_CHANNEL\", \"text\": \"$TEXT\"}"

Choose a reason for hiding this comment

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

What happens if TEXT has "\ in it?

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Maybe ubuntu-24.04 instead of ubuntu-latest so if things break down with 26.04 we're not taken by surprise?

@viadezo1er
Copy link
Copy Markdown

Rakefile:239-271 deals with the pre-release but pre-release.yml was deleted, so maybe that part of the Rakefile can go too?

uses: rubygems/configure-rubygems-credentials@a991f145d5e4a60c4b0a3ddb204f557dc1a4f985 # main
- name: Create release tag
if: ${{ !inputs.dry_run }}
run: git tag "$GITHUB_REF_NAME"
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I think this is only creating a local tag. We may want to push it if we use it.

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

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants