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: 5 additions & 2 deletions .github/workflows/gem-publish.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
name: Publish Ruby Gem

on:
release:
types: [published]
push:
branches:
- main

jobs:
push:
Expand All @@ -13,6 +14,8 @@ jobs:
id-token: write # IMPORTANT: this permission is mandatory for trusted publishing
contents: write # IMPORTANT: this permission is required for `rake release` to push the release tag

environment: Rubygems.org

steps:
# Set up
- uses: actions/checkout@v4
Expand Down
8 changes: 2 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,20 +19,16 @@ Initial version was developed by Platform.sh (https://platform.sh).

## Installation

TODO: Replace `UPDATE_WITH_YOUR_GEM_NAME_IMMEDIATELY_AFTER_RELEASE_TO_RUBYGEMS_ORG` with your gem name right after
releasing it to RubyGems.org. Please do not do it earlier due to security reasons. Alternatively, replace this section
with instructions to install your gem from git if you don't plan to release to RubyGems.org.

Install the gem and add to the application's Gemfile by executing:

```bash
bundle add UPDATE_WITH_YOUR_GEM_NAME_IMMEDIATELY_AFTER_RELEASE_TO_RUBYGEMS_ORG
bundle add gitlab-triage-linear-migrator
```

If bundler is not being used to manage dependencies, install the gem by executing:

```bash
gem install UPDATE_WITH_YOUR_GEM_NAME_IMMEDIATELY_AFTER_RELEASE_TO_RUBYGEMS_ORG
gem install gitlab-triage-linear-migrator
```

## Usage
Expand Down
2 changes: 1 addition & 1 deletion gitlab-triage-linear-migrator.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Gem::Specification.new do |spec|
spec.license = "MIT"
spec.required_ruby_version = ">= 3.1.0"

spec.metadata["allowed_push_host"] = "https://example.com"
spec.metadata["allowed_push_host"] = "https://rubygems.org"

spec.metadata["homepage_uri"] = spec.homepage
spec.metadata["source_code_uri"] = "https://github.com/upsun/gitlab-triage-linear-migrator"
Expand Down
2 changes: 1 addition & 1 deletion lib/gitlab/triage/linear/migrator/version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ module Gitlab
module Triage
module Linear
module Migrator
VERSION = "0.1.0"
VERSION = "1.0.0"
end
end
end
Expand Down