Skip to content

Add GitHub Actions workflow for releasing gem#159

Open
duanemay wants to merge 1 commit into
mainfrom
release
Open

Add GitHub Actions workflow for releasing gem#159
duanemay wants to merge 1 commit into
mainfrom
release

Conversation

@duanemay

@duanemay duanemay commented Jul 9, 2026

Copy link
Copy Markdown
Member

Added secret RUBYGEMS_AUTH_TOKEN

This way we can remove the concourse pipeline

- Adds a `release.yml` workflow to automate gem version bumping, publishing to RubyGems.org, and creating GitHub releases.

needs RUBYGEMS_AUTH_TOKEN
Copilot AI review requested due to automatic review settings July 9, 2026 22:19
@duanemay duanemay requested a review from strehle July 9, 2026 22:20

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Adds a manually triggered GitHub Actions workflow to automate gem releases for this repository, including version bumping, publishing to RubyGems, and creating a corresponding GitHub Release.

Changes:

  • Introduces a workflow_dispatch-based release pipeline with selectable semver bump type.
  • Automates version bumping via the latest v* git tag and commits version.txt back to the selected ref.
  • Publishes the gem to RubyGems and creates a GitHub Release with generated changelog notes.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +26 to +28
release:
name: Release gem and publish to RubyGems.org
runs-on: ubuntu-latest
Comment on lines +41 to +45
- name: Setup Git
run: |
git config --global user.email "identity-uaa+ci@pivotal.io"
git config --global user.name "UAA Identity Bot"

else
change_range="${tag}"
fi
git log --pretty='* %s' ${change_range} > changelog.md
@github-project-automation github-project-automation Bot moved this from Inbox to Pending Merge | Prioritized in Foundational Infrastructure Working Group Jul 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Pending Merge | Prioritized

Development

Successfully merging this pull request may close these issues.

3 participants