flipper 0.25.1 → 0.25.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/release.yml +44 -0
- data/.tool-versions +1 -0
- data/Changelog.md +4 -0
- data/lib/flipper/version.rb +1 -1
- metadata +4 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a830f8560a3b19ddb21ec12dba61ec973a5f0aa134d2f3d6d04371c4cf1ecb98
|
4
|
+
data.tar.gz: '0973ab983f4ae2351023a4b2ec9239434188671bc27bb4c4a95d5bc9d5521471'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0db89e65773952f1394bf8db244a1b4ca7365f3c962ee051f6140b7365a3785eb6e7870f7adb6bec5032b863e3e28b618d2d7e6f2d093441881c1b5c856a4467
|
7
|
+
data.tar.gz: 4d8226964f2a5d5434ac2aae7ee81062058e8210863c272abf04ffa6f4363345d55ad55b4126ab22b8f5bc937c212561f4584e03d980f7fcc16adb75aa4d4481
|
@@ -0,0 +1,44 @@
|
|
1
|
+
# https://andrewm.codes/blog/automating-ruby-gem-releases-with-github-actions/
|
2
|
+
name: release
|
3
|
+
|
4
|
+
on:
|
5
|
+
push:
|
6
|
+
branches:
|
7
|
+
- main
|
8
|
+
|
9
|
+
jobs:
|
10
|
+
release-please:
|
11
|
+
runs-on: ubuntu-latest
|
12
|
+
steps:
|
13
|
+
- uses: google-github-actions/release-please-action@v3
|
14
|
+
id: release
|
15
|
+
with:
|
16
|
+
release-type: ruby
|
17
|
+
package-name: flipper
|
18
|
+
bump-minor-pre-major: true
|
19
|
+
version-file: "lib/flipper/version.rb"
|
20
|
+
# Checkout code if release was created
|
21
|
+
- uses: actions/checkout@v2
|
22
|
+
if: ${{ steps.release.outputs.release_created }}
|
23
|
+
# Setup ruby if a release was created
|
24
|
+
- uses: ruby/setup-ruby@v1
|
25
|
+
with:
|
26
|
+
ruby-version: 3.0.0
|
27
|
+
if: ${{ steps.release.outputs.release_created }}
|
28
|
+
# Bundle install
|
29
|
+
- run: bundle install
|
30
|
+
if: ${{ steps.release.outputs.release_created }}
|
31
|
+
# Publish
|
32
|
+
- name: publish gem
|
33
|
+
run: |
|
34
|
+
mkdir -p $HOME/.gem
|
35
|
+
touch $HOME/.gem/credentials
|
36
|
+
chmod 0600 $HOME/.gem/credentials
|
37
|
+
printf -- "---\n:rubygems_api_key: ${GEM_HOST_API_KEY}\n" > $HOME/.gem/credentials
|
38
|
+
gem build *.gemspec
|
39
|
+
gem push *.gem
|
40
|
+
env:
|
41
|
+
# Make sure to update the secret name
|
42
|
+
# if yours isn't named RUBYGEMS_AUTH_TOKEN
|
43
|
+
GEM_HOST_API_KEY: "${{secrets.RUBYGEMS_AUTH_TOKEN}}"
|
44
|
+
if: ${{ steps.release.outputs.release_created }}
|
data/.tool-versions
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
ruby 3.1.2
|
data/Changelog.md
CHANGED
data/lib/flipper/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: flipper
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.25.
|
4
|
+
version: 0.25.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- John Nunemaker
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-08-
|
11
|
+
date: 2022-08-25 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description:
|
14
14
|
email:
|
@@ -21,7 +21,9 @@ files:
|
|
21
21
|
- ".github/dependabot.yml"
|
22
22
|
- ".github/workflows/ci.yml"
|
23
23
|
- ".github/workflows/examples.yml"
|
24
|
+
- ".github/workflows/release.yml"
|
24
25
|
- ".rspec"
|
26
|
+
- ".tool-versions"
|
25
27
|
- CODE_OF_CONDUCT.md
|
26
28
|
- Changelog.md
|
27
29
|
- Dockerfile
|