twiglet 3.4.0 → 3.4.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0df6b4dc38d469451c25999c9a8de0ea3019cc200121a21ad38ec387108a7a3f
4
- data.tar.gz: ff9d7e9bae20b09b8415e812dd08c57b588ef0f69cf4cf6a2272b0dff9b8a044
3
+ metadata.gz: 26e0c2b2d2ceb68f403a79aad11b9aabd469734872b5a231f00310fd4e520b91
4
+ data.tar.gz: ebb0cbf84cacf79f0381dfc1eb459a60affdb6472b863ac75e469f7a1981c1fc
5
5
  SHA512:
6
- metadata.gz: b5a765f4272d13bfc1cbbffd520bd3727ded119b31ffb341e5a7cfcddd64c33a4094ab8f4942683b9dedba954d089b9e021df64f0bea152358034c9de9d55494
7
- data.tar.gz: 3744febe0fb3b8d7e550271940291fc8d6cdd9b27495a9363afa4a21d06133764695fc9d5f485e2e6c4706b09dae2f2f41d8e893553067df50cc78ecbb2d44fd
6
+ metadata.gz: 617424453d9504e2e17cba08aa13811fa2be58753666ce73b49274248a6392a82383fc066109fb80078872d26ab1e563ba0a5ae3a4af935acc79765dc2d68f5e
7
+ data.tar.gz: efab2195b9f7bacb70697b7e851f82652bc4e1d1cb0ad7d25492792f8726e78a83b22b4be492345a4392a4d1ca7219ded8f0a031630c8da37cc4229eee523958
@@ -24,3 +24,20 @@ jobs:
24
24
  gem push *.gem
25
25
  env:
26
26
  GEM_HOST_API_KEY: ${{secrets.RUBYGEMS_API_KEY}}
27
+ - name: Get Gem Version
28
+ id: get-gem-version
29
+ run: echo "::set-output name=GEM_VERSION::$(bundle exec ruby -e 'puts Twiglet::VERSION')"
30
+ - name: Create Release
31
+ uses: actions/github-script@v5
32
+ env:
33
+ GEM_VERSION: ${{ steps.get-gem-version.outputs.GEM_VERSION }}
34
+ with:
35
+ result-encoding: string
36
+ script: |
37
+ const { GEM_VERSION } = process.env
38
+ github.rest.repos.createRelease({
39
+ owner: context.repo.owner,
40
+ repo: context.repo.repo,
41
+ tag_name: GEM_VERSION,
42
+ generate_release_notes: true,
43
+ })
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Twiglet
4
- VERSION = '3.4.0'
4
+ VERSION = '3.4.1'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: twiglet
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.4.0
4
+ version: 3.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Simply Business
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-11-29 00:00:00.000000000 Z
11
+ date: 2021-11-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: json-schema
@@ -90,7 +90,6 @@ files:
90
90
  - ".github/CODEOWNERS"
91
91
  - ".github/dependabot.yml"
92
92
  - ".github/workflows/codeql-analysis.yml"
93
- - ".github/workflows/create-github-release.yml"
94
93
  - ".github/workflows/dobby-actions.yml"
95
94
  - ".github/workflows/gem-publish.yml"
96
95
  - ".github/workflows/ruby.yml"
@@ -1,34 +0,0 @@
1
- name: Create GitHub Release
2
-
3
- on:
4
- push:
5
- branches:
6
- - "master"
7
-
8
- jobs:
9
- create-release:
10
- runs-on: ubuntu-latest
11
- steps:
12
- - name: Checkout
13
- uses: actions/checkout@v2
14
- - name: Set up Ruby
15
- uses: ruby/setup-ruby@v1
16
- with:
17
- bundler-cache: true
18
- - name: Get Ruby Version
19
- id: get-ruby-version
20
- run: echo "::set-output name=RUBY_VERSION::$(bundle exec ruby -e 'puts Twiglet::VERSION')"
21
- - name: Create Release
22
- uses: actions/github-script@v5
23
- env:
24
- RUBY_VERSION: ${{ steps.get-ruby-version.outputs.RUBY_VERSION }}
25
- with:
26
- result-encoding: string
27
- script: |
28
- const { RUBY_VERSION } = process.env
29
- github.rest.repos.createRelease({
30
- owner: context.repo.owner,
31
- repo: context.repo.repo,
32
- tag_name: RUBY_VERSION,
33
- generate_release_notes: true,
34
- })