File tree Expand file tree Collapse file tree 4 files changed +9
-10
lines changed
lib/gitlab/triage/linear/migrator Expand file tree Collapse file tree 4 files changed +9
-10
lines changed Original file line number Diff line number Diff line change 11name : Publish Ruby Gem
22
33on :
4- release :
5- types : [published]
4+ push :
5+ branches :
6+ - main
67
78jobs :
89 push :
1314 id-token : write # IMPORTANT: this permission is mandatory for trusted publishing
1415 contents : write # IMPORTANT: this permission is required for `rake release` to push the release tag
1516
17+ environment : Rubygems.org
18+
1619 steps :
1720 # Set up
1821 - uses : actions/checkout@v4
Original file line number Diff line number Diff line change @@ -19,20 +19,16 @@ Initial version was developed by Platform.sh (https://platform.sh).
1919
2020## Installation
2121
22- TODO: Replace ` UPDATE_WITH_YOUR_GEM_NAME_IMMEDIATELY_AFTER_RELEASE_TO_RUBYGEMS_ORG ` with your gem name right after
23- releasing it to RubyGems.org. Please do not do it earlier due to security reasons. Alternatively, replace this section
24- with instructions to install your gem from git if you don't plan to release to RubyGems.org.
25-
2622Install the gem and add to the application's Gemfile by executing:
2723
2824``` bash
29- bundle add UPDATE_WITH_YOUR_GEM_NAME_IMMEDIATELY_AFTER_RELEASE_TO_RUBYGEMS_ORG
25+ bundle add gitlab-triage-linear-migrator
3026```
3127
3228If bundler is not being used to manage dependencies, install the gem by executing:
3329
3430``` bash
35- gem install UPDATE_WITH_YOUR_GEM_NAME_IMMEDIATELY_AFTER_RELEASE_TO_RUBYGEMS_ORG
31+ gem install gitlab-triage-linear-migrator
3632```
3733
3834## Usage
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ Gem::Specification.new do |spec|
1414 spec . license = "MIT"
1515 spec . required_ruby_version = ">= 3.1.0"
1616
17- spec . metadata [ "allowed_push_host" ] = "https://example.com "
17+ spec . metadata [ "allowed_push_host" ] = "https://rubygems.org "
1818
1919 spec . metadata [ "homepage_uri" ] = spec . homepage
2020 spec . metadata [ "source_code_uri" ] = "https://github.com/upsun/gitlab-triage-linear-migrator"
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ module Gitlab
44 module Triage
55 module Linear
66 module Migrator
7- VERSION = "0.1 .0"
7+ VERSION = "1.0 .0"
88 end
99 end
1010 end
You can’t perform that action at this time.
0 commit comments