Skip to content

Commit 9ba3d4c

Browse files
authored
Merge pull request #3 from upsun/release-v1
Release v1
2 parents 097af8b + 6fb9121 commit 9ba3d4c

File tree

4 files changed

+9
-10
lines changed

4 files changed

+9
-10
lines changed

.github/workflows/gem-publish.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
name: Publish Ruby Gem
22

33
on:
4-
release:
5-
types: [published]
4+
push:
5+
branches:
6+
- main
67

78
jobs:
89
push:
@@ -13,6 +14,8 @@ jobs:
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

README.md

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff 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-
2622
Install 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

3228
If 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

gitlab-triage-linear-migrator.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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"

lib/gitlab/triage/linear/migrator/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)