git-version-bump 0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: a35b473e9396809ff5e58c2af159f162e20461535fdd7f05bce61922985c0647
4
+ data.tar.gz: 3e679de0dab6cf7c6e8c7be0a828e998ee783fc427e6cacd896875612b7d96e4
5
+ SHA512:
6
+ metadata.gz: 1f8f61d13ff479024085eca682f961b9cf2b789467cf0515455952285145d1abf1ebffaa19b9e2dc1a19c848ee413f9178d96b463dfa2deaff33e446b3dba6bc
7
+ data.tar.gz: 2fb3871a1a7a945e96b29fee6f2e922ea2fbb57bfa428400d0c04e2d88d51082bd71f9e60da13bc80dc5753b3aa261c35571e8d3442e10a3b0efc8b804afdf2c
@@ -0,0 +1,33 @@
1
+ name: "Release to RubyGems"
2
+ on:
3
+ push:
4
+ branch: [main]
5
+ release:
6
+ types: [created]
7
+ workflow_dispatch:
8
+
9
+ jobs:
10
+ upload:
11
+ runs-on: ubuntu-latest
12
+ name: "Upload gem"
13
+
14
+ steps:
15
+ - uses: actions/checkout@v2
16
+ with:
17
+ fetch-depth: 0
18
+
19
+ - name: Install ruby
20
+ uses: ruby/setup-ruby@v1
21
+ with:
22
+ ruby-version: '2.7'
23
+ bundler-cache: true
24
+
25
+ - name: Workaround for https://github.com/actions/checkout/issues/290
26
+ run: |
27
+ git fetch --force --tags
28
+
29
+ - name: Do The Needful
30
+ env:
31
+ GEM_HOST_API_KEY: ${{ secrets.RUBYGEMS_API_KEY }}
32
+ run: |
33
+ bundle exec rake release:rubygem_push
data/.gitignore ADDED
@@ -0,0 +1,3 @@
1
+ pkg/
2
+ .bundle/
3
+ Gemfile.lock
data/Gemfile ADDED
@@ -0,0 +1,3 @@
1
+ source 'https://rubygems.org/'
2
+
3
+ gemspec