simplycop 1.9.2 → 1.9.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/create-github-release.yml +34 -0
- data/lib/simplycop/version.rb +1 -1
- metadata +2 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ec517feecdfddc227b8c05455b16b71e591b758dcd8ff25798c7cfe3f87d2426
|
4
|
+
data.tar.gz: f1372a8fae299e0d6893abf79b02082b4351ef61737ea1b3008e5e8e14fc182a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2b15f6411b7428e3fdcbf32233e6cd8b7333d1f1983dc7a27f7db05f2bc0be02b699e7eec3fc78db55331b815b39087cbf1b77cd60d0cc6f97672fa124d784cf
|
7
|
+
data.tar.gz: 37d555d999fbe433d7f7fd545d5a43d79368085be0bc327af1242f4b32c9f96dcd9acbbf61715fb64f86533660cf62fa568ab9c38eb1d4bbedb98a90b64f7e8b
|
@@ -0,0 +1,34 @@
|
|
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 Gem Version
|
19
|
+
id: get-gem-version
|
20
|
+
run: echo "::set-output name=GEM_VERSION::$(bundle exec ruby -e 'puts Simplycop::VERSION')"
|
21
|
+
- name: Create Release
|
22
|
+
uses: actions/github-script@v5
|
23
|
+
env:
|
24
|
+
GEM_VERSION: ${{ steps.get-gem-version.outputs.GEM_VERSION }}
|
25
|
+
with:
|
26
|
+
result-encoding: string
|
27
|
+
script: |
|
28
|
+
const { GEM_VERSION } = process.env
|
29
|
+
github.rest.repos.createRelease({
|
30
|
+
owner: context.repo.owner,
|
31
|
+
repo: context.repo.repo,
|
32
|
+
tag_name: GEM_VERSION,
|
33
|
+
generate_release_notes: true,
|
34
|
+
})
|
data/lib/simplycop/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: simplycop
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.9.
|
4
|
+
version: 1.9.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Simply Business
|
@@ -105,6 +105,7 @@ files:
|
|
105
105
|
- ".custom_simplycop.yml"
|
106
106
|
- ".github/dependabot.yml"
|
107
107
|
- ".github/workflows/ci.yml"
|
108
|
+
- ".github/workflows/create-github-release.yml"
|
108
109
|
- ".github/workflows/dobby-actions.yml"
|
109
110
|
- ".github/workflows/publish_gem.yml"
|
110
111
|
- ".github/workflows/version_forget_me_not.yml"
|