bens-hello-world 0.3.4 → 0.3.8
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 +8 -9
- data/Gemfile.lock +1 -1
- data/lib/bens/hello/world/version.rb +1 -1
- metadata +1 -2
- data/.github/workflows/main.yml +0 -18
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: '078f1a968e22bfb68175483cd0afed6585a39af03406e986235a696d4ac43b5e'
|
4
|
+
data.tar.gz: b35a725ae9044c0632b5af9855ca51b2d87e82e6390e955bc67bcc659db28de8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fea128adfde7281df1f80f3da9dae34eb979506e73516386ea566275ae20a8c69258b178d614de513c78a4b0c98feb99c9a2e5cf401332fb4e79ec7152131600
|
7
|
+
data.tar.gz: 709b62c197f60c09471e451b2b0150a87ef10d0fccc7c7592109f28e0581317a609f06b130084120533e11f192205bae9d5888c7b07f75f8e6317b8180b7490a
|
@@ -7,6 +7,7 @@ on:
|
|
7
7
|
jobs:
|
8
8
|
manual-release:
|
9
9
|
runs-on: ubuntu-latest
|
10
|
+
|
10
11
|
steps:
|
11
12
|
|
12
13
|
- uses: actions/checkout@v2
|
@@ -31,20 +32,18 @@ jobs:
|
|
31
32
|
# if yours isn't named RUBYGEMS_AUTH_TOKEN
|
32
33
|
GEM_HOST_API_KEY: "${{secrets.RUBYGEMS_AUTH_TOKEN}}"
|
33
34
|
|
34
|
-
|
35
35
|
# now, after the gem has been successfully published
|
36
36
|
# we would need to automatically tag based on the current commit
|
37
37
|
# ideally we would read the version in the gem file and commit that.
|
38
38
|
|
39
39
|
## We wanna use this one for pagy
|
40
40
|
# echo "::set-output name=version::$(sed -nr "s/.*VERSION\s*=\s*('|\")([^'\"]+).*$/\2/p" $(echo "$GITHUB_WORKSPACE/lib/pagy.rb"))"
|
41
|
-
- name: Get version number
|
42
|
-
id: version
|
43
|
-
run: |
|
44
|
-
echo "::set-output name=version::$(sed -nr "s/.*VERSION\s*=\s*('|\")([^'\"]+).*$/\2/p" $(echo "$GITHUB_WORKSPACE/lib/bens/hello/world/version.rb"))"
|
45
41
|
|
42
|
+
# - name: Get version number
|
43
|
+
# id: version
|
44
|
+
# run: |
|
45
|
+
# echo "::set-output name=version::$(sed -nr "s/.*VERSION\s*=\s*('|\")([^'\"]+).*$/\2/p" $(echo "$GITHUB_WORKSPACE/lib/bens/hello/world/version.rb"))"
|
46
46
|
|
47
|
-
|
48
47
|
- name: Create tag
|
49
48
|
uses: actions/github-script@v3
|
50
49
|
with:
|
@@ -53,8 +52,8 @@ jobs:
|
|
53
52
|
github.git.createRef({
|
54
53
|
owner: context.repo.owner,
|
55
54
|
repo: context.repo.repo,
|
56
|
-
ref:
|
55
|
+
ref: "refs/tags/".concat(${{env.VERSION}}),
|
57
56
|
sha: context.sha
|
58
57
|
})
|
59
|
-
|
60
|
-
|
58
|
+
env:
|
59
|
+
VERSION: echo $(sed -nr "s/.*VERSION\s*=\s*('|\")([^'\"]+).*$/\2/p" $(echo "$GITHUB_WORKSPACE/lib/bens/hello/world/version.rb"))
|
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.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- BK
|
@@ -18,7 +18,6 @@ executables: []
|
|
18
18
|
extensions: []
|
19
19
|
extra_rdoc_files: []
|
20
20
|
files:
|
21
|
-
- ".github/workflows/main.yml"
|
22
21
|
- ".github/workflows/manual-release.yml"
|
23
22
|
- ".github/workflows/release.yml"
|
24
23
|
- ".gitignore"
|
data/.github/workflows/main.yml
DELETED
@@ -1,18 +0,0 @@
|
|
1
|
-
name: Ruby
|
2
|
-
|
3
|
-
on: [push,pull_request]
|
4
|
-
|
5
|
-
jobs:
|
6
|
-
build:
|
7
|
-
runs-on: ubuntu-latest
|
8
|
-
steps:
|
9
|
-
- uses: actions/checkout@v2
|
10
|
-
- name: Set up Ruby
|
11
|
-
uses: ruby/setup-ruby@v1
|
12
|
-
with:
|
13
|
-
ruby-version: 3.0.0
|
14
|
-
- name: Run the default task
|
15
|
-
run: |
|
16
|
-
gem install bundler -v 2.2.7
|
17
|
-
bundle install
|
18
|
-
bundle exec rake
|