bens-hello-world 0.2.7 → 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/manual-release.yml +46 -0
- data/.github/workflows/release.yml +15 -15
- data/CHANGELOG.md +41 -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
|
+
|
@@ -20,7 +20,7 @@ jobs:
|
|
20
20
|
# Should breaking changes before 1.0.0 produce minor bumps?
|
21
21
|
bump-minor-pre-major: true
|
22
22
|
# Path to our version file to increment
|
23
|
-
version-file: "lib/
|
23
|
+
version-file: "lib/bens/hello/world/version.rb"
|
24
24
|
|
25
25
|
# Checkout code if release was created
|
26
26
|
- uses: actions/checkout@v2
|
@@ -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,46 @@
|
|
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
|
+
|
11
|
+
## [0.3.0](https://www.github.com/benkoshy/bens-hello-world/compare/v0.2.10...v0.3.0) (2021-07-28)
|
12
|
+
|
13
|
+
|
14
|
+
### ⚠ BREAKING CHANGES
|
15
|
+
|
16
|
+
* randomly change version number
|
17
|
+
|
18
|
+
### Bug Fixes
|
19
|
+
|
20
|
+
* randomly change version number ([1b61552](https://www.github.com/benkoshy/bens-hello-world/commit/1b6155258fe7b020e302d91f68ab4ab61797e657))
|
21
|
+
|
22
|
+
### [0.2.10](https://www.github.com/benkoshy/bens-hello-world/compare/v0.2.9...v0.2.10) (2021-07-28)
|
23
|
+
|
24
|
+
|
25
|
+
### Bug Fixes
|
26
|
+
|
27
|
+
* seeing whether a release occurs here ([02e244b](https://www.github.com/benkoshy/bens-hello-world/commit/02e244b9f3592711b98695ade74dbb06d81c31aa))
|
28
|
+
|
29
|
+
### [0.2.9](https://www.github.com/benkoshy/bens-hello-world/compare/v0.2.8...v0.2.9) (2021-07-28)
|
30
|
+
|
31
|
+
|
32
|
+
### Bug Fixes
|
33
|
+
|
34
|
+
* change version number to 2.9 ([3aabf8a](https://www.github.com/benkoshy/bens-hello-world/commit/3aabf8a7307cb37221f61986d90154bb5a98cf29))
|
35
|
+
* release file number ([7ae6fff](https://www.github.com/benkoshy/bens-hello-world/commit/7ae6fffeb06618b4d8d33ffbdd147118c848484c))
|
36
|
+
|
37
|
+
### [0.2.8](https://www.github.com/benkoshy/bens-hello-world/compare/v0.2.7...v0.2.8) (2021-07-28)
|
38
|
+
|
39
|
+
|
40
|
+
### Bug Fixes
|
41
|
+
|
42
|
+
* seeing whether a release occurs here ([1e28b24](https://www.github.com/benkoshy/bens-hello-world/commit/1e28b244e986ccc441b6951ba9da22319c41156a))
|
43
|
+
|
3
44
|
### [0.2.7](https://www.github.com/benkoshy/bens-hello-world/compare/v0.2.6...v0.2.7) (2021-07-28)
|
4
45
|
|
5
46
|
|
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.
|
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"
|