twiglet 3.3.7 → 3.4.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/gem-publish.yml +23 -3
- data/lib/twiglet/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 16ed3e64581c0d1c8908cf35d0dd77646a9e14be9f4fe39a6528a0c193f3bdfb
|
4
|
+
data.tar.gz: 83a5aeb0da1c3d2d44c464fee1ea602189dbae971b01473ffd91bc7358a30a8b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f396edf27be32a886a2f08872632a1d5b19d236ce4eb20c84c1fc4fbe14889442c901e476d2b6def32329cf0149032c806d726d2a849da52f0e6a886ec6cf97d
|
7
|
+
data.tar.gz: 4425f5082fe34808c45d9b7eaca355721c025db44e626cea2c2f958ec0ce2cd254ed1bfcb2fcdb39b975f60572560e1da3ca6293cc45a656c3d387411f918d68
|
@@ -4,16 +4,19 @@ on:
|
|
4
4
|
push:
|
5
5
|
branches: [ master ]
|
6
6
|
|
7
|
+
permissions:
|
8
|
+
contents: write
|
9
|
+
|
7
10
|
jobs:
|
8
11
|
build:
|
9
12
|
name: Build and Publish
|
10
13
|
runs-on: ubuntu-latest
|
11
14
|
steps:
|
12
15
|
- uses: actions/checkout@v2
|
13
|
-
- name: Set up Ruby
|
14
|
-
uses:
|
16
|
+
- name: Set up Ruby
|
17
|
+
uses: ruby/setup-ruby@v1
|
15
18
|
with:
|
16
|
-
|
19
|
+
bundler-cache: true
|
17
20
|
- name: Publish to RubyGems
|
18
21
|
run: |
|
19
22
|
mkdir -p $HOME/.gem
|
@@ -24,3 +27,20 @@ jobs:
|
|
24
27
|
gem push *.gem
|
25
28
|
env:
|
26
29
|
GEM_HOST_API_KEY: ${{secrets.RUBYGEMS_API_KEY}}
|
30
|
+
- name: Get Gem Version
|
31
|
+
id: get-gem-version
|
32
|
+
run: echo "::set-output name=GEM_VERSION::$(bundle exec ruby -e 'puts Twiglet::VERSION')"
|
33
|
+
- name: Create Release
|
34
|
+
uses: actions/github-script@v5
|
35
|
+
env:
|
36
|
+
GEM_VERSION: ${{ steps.get-gem-version.outputs.GEM_VERSION }}
|
37
|
+
with:
|
38
|
+
result-encoding: string
|
39
|
+
script: |
|
40
|
+
const { GEM_VERSION } = process.env
|
41
|
+
github.rest.repos.createRelease({
|
42
|
+
owner: context.repo.owner,
|
43
|
+
repo: context.repo.repo,
|
44
|
+
tag_name: GEM_VERSION,
|
45
|
+
generate_release_notes: true,
|
46
|
+
})
|
data/lib/twiglet/version.rb
CHANGED
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.3
|
4
|
+
version: 3.4.3
|
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
|
+
date: 2021-12-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: json-schema
|
@@ -145,7 +145,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
145
145
|
- !ruby/object:Gem::Version
|
146
146
|
version: '0'
|
147
147
|
requirements: []
|
148
|
-
rubygems_version: 3.
|
148
|
+
rubygems_version: 3.0.3
|
149
149
|
signing_key:
|
150
150
|
specification_version: 4
|
151
151
|
summary: Twiglet
|