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 1
1
name : Publish Ruby Gem
2
2
3
3
on :
4
- release :
5
- types : [published]
4
+ push :
5
+ branches :
6
+ - main
6
7
7
8
jobs :
8
9
push :
13
14
id-token : write # IMPORTANT: this permission is mandatory for trusted publishing
14
15
contents : write # IMPORTANT: this permission is required for `rake release` to push the release tag
15
16
17
+ environment : Rubygems.org
18
+
16
19
steps :
17
20
# Set up
18
21
- 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).
19
19
20
20
## Installation
21
21
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
-
26
22
Install the gem and add to the application's Gemfile by executing:
27
23
28
24
``` bash
29
- bundle add UPDATE_WITH_YOUR_GEM_NAME_IMMEDIATELY_AFTER_RELEASE_TO_RUBYGEMS_ORG
25
+ bundle add gitlab-triage-linear-migrator
30
26
```
31
27
32
28
If bundler is not being used to manage dependencies, install the gem by executing:
33
29
34
30
``` bash
35
- gem install UPDATE_WITH_YOUR_GEM_NAME_IMMEDIATELY_AFTER_RELEASE_TO_RUBYGEMS_ORG
31
+ gem install gitlab-triage-linear-migrator
36
32
```
37
33
38
34
## Usage
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ Gem::Specification.new do |spec|
14
14
spec . license = "MIT"
15
15
spec . required_ruby_version = ">= 3.1.0"
16
16
17
- spec . metadata [ "allowed_push_host" ] = "https://example.com "
17
+ spec . metadata [ "allowed_push_host" ] = "https://rubygems.org "
18
18
19
19
spec . metadata [ "homepage_uri" ] = spec . homepage
20
20
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
4
4
module Triage
5
5
module Linear
6
6
module Migrator
7
- VERSION = "0.1 .0"
7
+ VERSION = "1.0 .0"
8
8
end
9
9
end
10
10
end
You can’t perform that action at this time.
0 commit comments