Skip to content

Conversation

@lluzak
Copy link
Contributor

@lluzak lluzak commented Apr 14, 2023

Github Action will be trigger when user create Github release. It will run all checks on gem like tests and linter.

At the end it will publish gem to Rubygems repository.

It also includes updated README file with detail instruction.

Steps:

  1. Bump version by using:
bundle exec gem bump --version [minor|major|patch]
  1. Create new tag for newest version
bundle exec gem tag
  1. Create Github release which will trigger Github Actions

@lluzak lluzak requested review from a team, kylebyrne and miquez April 14, 2023 14:06
@lluzak lluzak force-pushed the 391-publish-easol-canvas-gem-automatically-when-release-is-being-created branch from b4b8992 to 5f2215e Compare April 14, 2023 14:07
@lluzak lluzak requested review from noon-ng, sgerrand and sldblog April 14, 2023 14:09
@lluzak
Copy link
Contributor Author

lluzak commented Apr 14, 2023

@lluzak lluzak force-pushed the 391-publish-easol-canvas-gem-automatically-when-release-is-being-created branch 2 times, most recently from a823cc9 to 3b57a9e Compare April 14, 2023 15:03
Copy link
Contributor

@sgerrand sgerrand left a comment

Choose a reason for hiding this comment

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

LGTM, no blockers. 👍

Comment on lines +19 to +26
- uses: ruby/setup-ruby@v1
with:
ruby-version: "3.1"
bundler-cache: true

- run: bundle install
- run: bundle exec rspec
- run: bundle exec rubocop
Copy link
Contributor

Choose a reason for hiding this comment

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

Tiny nitpick and not a blocker at all, but you could probably run rspec and rubocop in parallel to this job and make the rake release[remote] job block and wait for them to complete? It's fine to do that as a follow-up.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Will test it separately, currently it takes 30 seconds to run whole job, will check if spinning separate jobs and waiting for those will not extend it in time.

@lluzak lluzak force-pushed the 391-publish-easol-canvas-gem-automatically-when-release-is-being-created branch from 3b57a9e to 54d33c0 Compare April 14, 2023 15:31
Github Action will be trigger when user create Github release. It will run all checks on gem like tests and linter.

At the end it will publish gem to Rubygems repository.

It also includes updated README file with detail instructions.
@lluzak lluzak force-pushed the 391-publish-easol-canvas-gem-automatically-when-release-is-being-created branch from 54d33c0 to 760552f Compare April 14, 2023 15:33
@lluzak lluzak enabled auto-merge April 14, 2023 15:34
@lluzak lluzak merged commit bb04703 into main Apr 14, 2023
@lluzak lluzak deleted the 391-publish-easol-canvas-gem-automatically-when-release-is-being-created branch April 14, 2023 15:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants