bens-hello-world 0.3.0 → 0.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.github/workflows/manual-release.yml +46 -0
- data/.github/workflows/release.yml +14 -14
- data/CHANGELOG.md +8 -0
- data/Gemfile.lock +1 -1
- data/lib/bens/hello/world/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: 1950e995a6c8e01bcc403d8a99c97eae3e83370504f74fb929511bb9c78973f1
|
|
4
|
+
data.tar.gz: 53bc04a87b5f91744609642529d6e87c4b7e87ee5ebe99c8ab3d2701f19d59f2
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 8bed2da682afa8faa4c2489e213c208d98c33ff71b23c12e17914db704bbeb5fe3a270d567a8bee495733e2bf3384913594a47351d7b30896b00b2f4fd6b5ecd
|
|
7
|
+
data.tar.gz: d8f2e7e3c732ed430882112efb317cfa1b3cbfd6e32c66eb72ba86f04fcd90b2c1cd349cc7342b9907d2ba8b092976d71127e8abe9ddcf61ffc1fc66d4f2d6f8
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
|
|
2
|
+
name: manual-release
|
|
3
|
+
|
|
4
|
+
on:
|
|
5
|
+
workflow_dispatch:
|
|
6
|
+
inputs:
|
|
7
|
+
logLevel:
|
|
8
|
+
description: 'Log level'
|
|
9
|
+
required: true
|
|
10
|
+
default: 'warning'
|
|
11
|
+
tags:
|
|
12
|
+
description: 'Test scenario tags'
|
|
13
|
+
|
|
14
|
+
jobs:
|
|
15
|
+
manual-release:
|
|
16
|
+
runs-on: ubuntu-latest
|
|
17
|
+
steps:
|
|
18
|
+
|
|
19
|
+
# Checkout code if release was created
|
|
20
|
+
- uses: actions/checkout@v2
|
|
21
|
+
# checks out the default branch (which is master)
|
|
22
|
+
|
|
23
|
+
# Setup ruby if a release was created
|
|
24
|
+
- uses: ruby/setup-ruby@v1
|
|
25
|
+
with:
|
|
26
|
+
ruby-version: 3.0.0
|
|
27
|
+
# Bundle install
|
|
28
|
+
- run: bundle install
|
|
29
|
+
|
|
30
|
+
## One can choose the publish the gem when the release is created too
|
|
31
|
+
- name: publish gem
|
|
32
|
+
run: |
|
|
33
|
+
mkdir -p $HOME/.gem
|
|
34
|
+
touch $HOME/.gem/credentials
|
|
35
|
+
chmod 0600 $HOME/.gem/credentials
|
|
36
|
+
printf -- "---\n:rubygems_api_key: ${GEM_HOST_API_KEY}\n" > $HOME/.gem/credentials
|
|
37
|
+
gem build *.gemspec
|
|
38
|
+
gem push *.gem
|
|
39
|
+
env:
|
|
40
|
+
# Make sure to update the secret name
|
|
41
|
+
# if yours isn't named RUBYGEMS_AUTH_TOKEN
|
|
42
|
+
GEM_HOST_API_KEY: "${{secrets.RUBYGEMS_AUTH_TOKEN}}"
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
|
|
@@ -34,19 +34,19 @@ jobs:
|
|
|
34
34
|
- run: bundle install
|
|
35
35
|
if: ${{ steps.release.outputs.release_created }}
|
|
36
36
|
|
|
37
|
-
## One can choose the publish the gem when the release is created too
|
|
38
|
-
- name: publish gem
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
37
|
+
# ## One can choose the publish the gem when the release is created too
|
|
38
|
+
# - name: publish gem
|
|
39
|
+
# run: |
|
|
40
|
+
# mkdir -p $HOME/.gem
|
|
41
|
+
# touch $HOME/.gem/credentials
|
|
42
|
+
# chmod 0600 $HOME/.gem/credentials
|
|
43
|
+
# printf -- "---\n:rubygems_api_key: ${GEM_HOST_API_KEY}\n" > $HOME/.gem/credentials
|
|
44
|
+
# gem build *.gemspec
|
|
45
|
+
# gem push *.gem
|
|
46
|
+
# env:
|
|
47
|
+
# # Make sure to update the secret name
|
|
48
|
+
# # if yours isn't named RUBYGEMS_AUTH_TOKEN
|
|
49
|
+
# GEM_HOST_API_KEY: "${{secrets.RUBYGEMS_AUTH_TOKEN}}"
|
|
50
|
+
# if: ${{ steps.release.outputs.release_created }}
|
|
51
51
|
|
|
52
52
|
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
### [0.3.1](https://www.github.com/benkoshy/bens-hello-world/compare/v0.3.0...v0.3.1) (2021-07-28)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* add manual release ([df810f3](https://www.github.com/benkoshy/bens-hello-world/commit/df810f3fbda089e64d0be1e6d423de04ce2495d4))
|
|
9
|
+
* remove the action which pushes to ruby gems ([69febac](https://www.github.com/benkoshy/bens-hello-world/commit/69febacd7d7091823aeb25e89f2e08f84f7d0c1f))
|
|
10
|
+
|
|
3
11
|
## [0.3.0](https://www.github.com/benkoshy/bens-hello-world/compare/v0.2.10...v0.3.0) (2021-07-28)
|
|
4
12
|
|
|
5
13
|
|
data/Gemfile.lock
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: bens-hello-world
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.3.
|
|
4
|
+
version: 0.3.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- BK
|
|
@@ -19,6 +19,7 @@ extensions: []
|
|
|
19
19
|
extra_rdoc_files: []
|
|
20
20
|
files:
|
|
21
21
|
- ".github/workflows/main.yml"
|
|
22
|
+
- ".github/workflows/manual-release.yml"
|
|
22
23
|
- ".github/workflows/release.yml"
|
|
23
24
|
- ".gitignore"
|
|
24
25
|
- ".rspec"
|